0
0
mirror of https://github.com/openwrt/luci.git synced 2025-01-31 03:41:47 +00:00
luci/modules/luci-mod-battstatus/root/usr/share/rpcd/acl.d/luci-mod-battstatus.json
Russell Morris dcac704b3d luci-app-battstatus: initial release
Introduce a new package luci-app-battstatus which queries battery charge
information using i2c commands and displays a charge indicator in the
upper right notification area.

So far this package has been tested to work with the HooToo HT-TM05
travel router but might be extended to cover further models in the
future.

Signed-off-by: Russell Morris <rmorris@rkmorris.us>
[rebase on top of master, rewrite commit message, adjust copyright,
 convert some ubus fields to boolean values]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-07-18 15:28:36 +02:00

11 lines
164 B
JSON
Executable File

{
"luci-mod-battstatus": {
"description": "Grant access to battery status",
"read": {
"ubus": {
"luci.battstatus": [ "getBatteryStatus" ]
}
}
}
}