luci-app-battstatus: initial release
authorRussell Morris <rmorris@rkmorris.us>
Thu, 23 Jan 2020 03:10:13 +0000 (21:10 -0600)
committerJo-Philipp Wich <jo@mein.io>
Sat, 18 Jul 2020 13:28:36 +0000 (15:28 +0200)
commitdcac704b3d6bc3c4ad2ccacb3d79fc67d900087f
treec384a20a949b737946b677e72e3b3a8d1fc84c7c
parentdf3f62988897012b36c1f4810570a1eece65e2d5
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>
modules/luci-mod-battstatus/Makefile [new file with mode: 0644]
modules/luci-mod-battstatus/htdocs/luci-static/resources/preload/battstatus.js [new file with mode: 0755]
modules/luci-mod-battstatus/root/usr/libexec/rpcd/luci.battstatus [new file with mode: 0755]
modules/luci-mod-battstatus/root/usr/share/rpcd/acl.d/luci-mod-battstatus.json [new file with mode: 0755]