mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 17:04:35 +04:00
For standard devices, we can read from `/sys/class/power_supply` Add board checks to implement different solutions for different boards Signed-off-by: Coia Prant <coiaprant@gmail.com> Signed-off-by: Paul Donald <newtwen+github@gmail.com>
20 lines
407 B
Makefile
20 lines
407 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.
|
|
|
|
LUCI_DEPENDS:=+luci-base +libi2c +i2c-tools
|
|
|
|
PKG_LICENSE:=Apache-2.0
|
|
|
|
include ../../luci.mk
|
|
|
|
# call BuildPackage - OpenWrt buildroot signature
|
|
|