[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libreboot] x60 battery seen empty, but fully charged.

From: megagolgoth
Subject: Re: [Libreboot] x60 battery seen empty, but fully charged.
Date: Wed, 10 Feb 2016 14:26:52 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

Please find my answer below :

Le 15/01/2016 16:52, Daniel Tarrero a écrit :

 From your talk i have two theories you can give a try:

1.- Your Linux is not using "power save" features, so it drys your batt
faster than windows (the most probabbly i think)
Fully charged battery provide me more than 2 hours with Lenovo BIOS, but less than 15 minutes with LibreBoot.

2.- Your Linux is miss-meassuring the battery (it thinks is empty, but
have yet more power. More rare, but also seen.)

More probability for this type of issue.

For the first theory (1), i will check if "laptop-mode-tools" and
"pm-utils" packages are installed. In my Debian the first is on charge
of spin down hard drives and send "powerdown" state for unused
peripherials. The second are "power-management" tools
Both packages were installed, without improvement.
Also take a look at some other tweaks you can perform:

Also interesting for you will be the "powertop" utility to set up
powersaving setting and diagnose power consumption.

I have found also a custom package claiming it handles "advanced power
management" fot thinkpad laptops. If the "laptop-mode-tools" doesnt work
for you, give it a try!

In Debian you can tweak some stuff in kernel in order to save some
power, the more interesting should be the laptop mode:

$echo 5 > /proc/sys/vm/laptop_mode

... but you can also turn off unused ports, limit screen backlight, turn
off the lasers (CD/DVD)

For the second theory (2) i have no idea how to do that, but i remember
a similar problem year ago, and someone got to cheat kernel to think it
had more battery (and it worked). It had something to do with how many
cells the system thought was available.
I prefer reading correctly the amount of power from the battery.

The battery is a Sony Li ion, FRU 95p5030.

Take a look at the special files here, they store all information and
parameters that the kernel has about your battery:

$ls /sys/class/power_supply/BAT0/

then you can "cat" to read values, like for example, full charge and
current charge of battery installed:

$cat /sys/class/power_supply/BAT0/charge_full
$cat /sys/class/power_supply/BAT0/charge_now

one last advice: do one change at a time, check resoults!

Good luck and share you experiences! :)

Yep, thank you :)

El vie, 01-01-2016 a las 16:56 +0100, megagolgoth escribió:

I've got a problem with the last build (20150518, and after a short
test today, also with the 20150208)) of Libreboot for x60 (fr
azerty keyb). The BIOS (and Ubuntu, too) see my battery empty
(orange bat light), after approximatively 10 minutes. The battery is fully 
(with Lenovo external charger, or charged on the x60).

With the Lenovo proprietary BIOS I've 3-4hours of autonomy, with
the same battery (without charging it another time, just flashing
back the Lenovo BIOS).

Lenovo power application on Windows, with Lenovo proprietary BIOS see 214 
cycles for this battery.

I don't know where to start to diagnose the problem... Is a known problem?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]