Battery Charging on Laptop

You have a problem with Slackel? Post here and we'll do what we can to help.
Post Reply
creolecat
Posts: 19
Joined: 04 Jun 2016 23:43

Battery Charging on Laptop

Post 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.
djemos
Site Admin
Posts: 696
Joined: 15 Apr 2016 06:03

Re: Battery Charging on Laptop

Post 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.
creolecat
Posts: 19
Joined: 04 Jun 2016 23:43

Re: Battery Charging on Laptop

Post 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
djemos
Site Admin
Posts: 696
Joined: 15 Apr 2016 06:03

Re: Battery Charging on Laptop

Post 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?
Post Reply