Just read the /sys/class/power_supply/*/charge_now virtual file with cat
this post was submitted on 10 Jul 2023
136 points (94.7% liked)
linuxmemes
20923 readers
1337 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!
🤴: use solar power and the position of the sun is your battery monitor
IQ level: over 9000.
Me in the last frame with my custom dwm battery, date, and time status bar
Oops
view more: next ›