Just read the /sys/class/power_supply/*/charge_now virtual file with cat
Open tmux Split screen Resize to 2 or 3 lines # watch -n 0 cat /sys/class/power_supply/*/charge_now
Bonus! Also shows the current time and date!
🤴: use solar power and the position of the sun is your battery monitor
acpi
IQ level: over 9000.
Me in the last frame with my custom dwm battery, date, and time status bar
Oops
8 Comments
u000@lemmywinks.xyz · 13 pts · 3y
Just read the /sys/class/power_supply/*/charge_now virtual file with cat
Luci@lemmy.ca · 2 pts · 3y
Open tmux Split screen Resize to 2 or 3 lines # watch -n 0 cat /sys/class/power_supply/*/charge_now
Bonus! Also shows the current time and date!
MavTheHack@lemmy.fmhy.ml · 2 pts · 3y
🤴: use solar power and the position of the sun is your battery monitor
Standenboy@lemmy.world · 1 pts · 2y
acpi
0x4E4F@sh.itjust.works · 1 pts · 3y
IQ level: over 9000.
been_jamming@lemmy.ml · 0 pts · 3y
Me in the last frame with my custom dwm battery, date, and time status bar
been_jamming@lemmy.ml · 1 pts · 3y
Oops