If you run Linux off a laptop, you might want to check your battery status alt least once a year:
grep -F capacity: /proc/acpi/battery/BAT0/info
This will output something like
design capacity: 7800 mAh
last full capacity: 6414 mAh
If you run Linux off a laptop, you might want to check your battery status alt least once a year:
grep -F capacity: /proc/acpi/battery/BAT0/info
This will output something like
design capacity: 7800 mAh
last full capacity: 6414 mAh
That was a nice tip. But is there any way by which I can rectify if there is any problem?
When it comes to batteries, the only thing you can do if they fail is change them. I had a power spike almost two years ago, fried my laptop’s battery. Had to buy a new one. Other than that, I can’t imagine what other problems could arise.
BTW: here’s two other useful tips for laptop batteries:
user@laptop:~$ acpi -t
Battery 0: Full, 100%
Thermal 0: ok, 44.5 degrees C
user@laptop:~$ acpi -V
Battery 0: Full, 100%
AC Adapter 0: on-line
Thermal 0: ok, 41.5 degrees C
Cooling 0: Processor 0 of 10
Cooling 1: Processor 0 of 10
Pingback: CLI to check laptop battery condition « Linux & Stuff