You are not logged in.
https://wiki.archlinux.org/index.php/Sp … sh_scripts
I've copied the baraction.sh script there, and it has a pretty beefy section at the beginning to pull battery info from acpi...I apparently don't have acpi battery on my laptop...but I can query the battery with cat /sys/class/power_supply/BAT0/energy_now
there's other things to query such as energy_full, power_now, power/, status, and a bunch of other stuff.
My problem is...state and info which is queried by the script above is not available to query by my battery. I was wondering if someone familiar with shell scripting could work me up a quick battery status script?
Offline