![]() |
How to Find Battery Capacity in GNU/Linux
I found an interesting command today while I was browsing around. I've been trying to figure out for a long time how to list my batteries health in Linux.
Today I found such a command.
grep -F capacity: /proc/acpi/battery/BAT0/info
When I run this on my laptop I get:
design capacity: 5200 mAh
last full capacity: 5148 mAh
Which I think really sucks since this laptop is around 2 months old.
Anyways, I hope you enjoy this little tidbit.
- Content:

