Page 1 of 1

Battery Charging on Laptop

Posted: 05 Aug 2016 15:41
by creolecat
djemos,

Are there some settings required to get Linux to charge the batteries on a laptop? I am using Slackel OpenBox on a Dell 1525.

The system sees the battery, but it does not charge it. I actually have three of these computers. One of them has windows, and I use it to charge the batteries. Slackel is not the only Linux that doesn't handle laptop batteries out of the box. I have seen this with almost all other Linux distributions, with any laptop.

Re: Battery Charging on Laptop

Posted: 06 Aug 2016 05:28
by djemos
Check what is in the path cat /proc/acpi/battery/
e.g. cat /proc/acpi/battery/BAT0/state

check also this cat /sys/class/power_supply/BAT0/status

This is strange to not charge the battery. Maybe you have to see in bios what to change for battery.
I never had any problem with battery on slackel in Lenovo, HP, Acer, toshiba laptops.

Re: Battery Charging on Laptop

Posted: 18 Aug 2016 01:19
by creolecat
djemos,

Sorry for late follow-up. Here are the responses from the commands.

david[~]$ cat /proc/acpi/battery/BAT0/state
present: yes
capacity state: ok
charging state: charged
present rate: 1 mA
remaining capacity: 3660 mAh
present voltage: 12360 mV

david[~]$ cat /sys/class/power_supply/BAT0/status
Unknown

Re: Battery Charging on Laptop

Posted: 18 Aug 2016 07:09
by djemos
creolecat wrote:djemos,

Sorry for late follow-up. Here are the responses from the commands.

david[~]$ cat /proc/acpi/battery/BAT0/state
present: yes
capacity state: ok
charging state: charged
present rate: 1 mA
remaining capacity: 3660 mAh
present voltage: 12360 mV

david[~]$ cat /sys/class/power_supply/BAT0/status
Unknown
As shown above battery is charged. (charging state: charged)
I do not have a dell laptop to check. Maybe is something need to turn on in bios?