Re: [gentoo-user] Battery charge status script for term or text console

2015-11-05 Thread J. Roeleveld
On 5 November 2015 00:53:25 CET, Walter Dnes wrote: > The attached script requires "make menuconfig" to have > >Power management and ACPI options ---> >[*] ACPI (Advanced Configuration and Power Interface) Support ---> ><*> Battery > >or CONFIG_ACPI_BATTERY enabled if you do .config manually.

[gentoo-user] Battery charge status script for term or text console

2015-11-04 Thread Walter Dnes
The attached script requires "make menuconfig" to have Power management and ACPI options ---> [*] ACPI (Advanced Configuration and Power Interface) Support ---> <*> Battery or CONFIG_ACPI_BATTERY enabled if you do .config manually. The script reads /sys/class/power_supply/BAT1/uevent on