Just read the /sys/class/power_supply/*/charge_now virtual file with cat
this post was submitted on 10 Jul 2023
126 points (93.8% liked)
linuxmemes
20761 readers
1870 users here now
I use Arch btw
Sister communities:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules
- Follow the site-wide rules and code of conduct
- Be civil
- Post Linux-related content
- No recent reposts
Please report posts and comments that break these rules!
founded 1 year ago
MODERATORS
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!
IQ level: over 9000.
🤴: use solar power and the position of the sun is your battery monitor
acpi
Me in the last frame with my custom dwm battery, date, and time status bar
Oops
view more: next ›