mirror of
https://github.com/openwrt/luci.git
synced 2025-01-30 18:21:50 +00:00
dcac704b3d
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>
20 lines
497 B
Makefile
20 lines
497 B
Makefile
#
|
|
# Copyright (C) 2020 Russell Morris <rmorris@rkmorris.us>
|
|
#
|
|
# This is free software, licensed under the Apache License, Version 2.0 .
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
LUCI_TITLE:=LuCI Battery Status
|
|
LUCI_DESCRIPTION:=Provides a battery charge indicator in LuCI. Currently only supports the HooToo HT-TM05 travel router.
|
|
|
|
LUCI_DEPENDS:=+luci-base +libiwinfo-lua +rpcd-mod-iwinfo +libi2c +i2c-tools
|
|
|
|
PKG_LICENSE:=Apache-2.0
|
|
|
|
include ../../luci.mk
|
|
|
|
# call BuildPackage - OpenWrt buildroot signature
|
|
|