View previous topic :: View next topic |
Author |
Message |
Efo Guru
Joined: 23 Jun 2005 Posts: 494
|
Posted: Fri Jul 29, 2005 4:56 am Post subject: Battery charge inaccurate while status seems to work fine |
|
|
Hi guys,
I have a problem with my laptop battery. Even though the status of the battery is correct (charging, discharging, charged), the percentage left on the battery is highly inaccurate. It may stay 10 minutes displayng 0% and then run out of juice, or like right now it has been 100% for over 10 minutes but it is still charging. I know that the status is correct because it respect what the laptop charging light says.
Here is my torsmorc battery section:
${color green} Ac Adapter: ${color}$acpiacadapter
${color green} Battery: ${color}${execi 5 acpitool -b | cut -d , -f2}
${color}${color}${execi 5 acpitool -b | cut -d : -f2 | cut -d , -f1}
Any suggestion how to fix this?
Thanks
Efo |
|
Back to top |
|
|
Sir No Apprentice
Joined: 01 May 2005 Posts: 159 Location: Poland
|
Posted: Fri Jul 29, 2005 2:49 pm Post subject: |
|
|
My ACER 5002LM laptop was having a bit similar (?) behaviour. In both Gentoo and Ubuntu the battery/AC status was correct, while the percentage was always unknown. I've found the page http://casteyde.christian.free.fr/laptop/LinuxOnAspire1511LMi.html where in the section "The ACPI Mess" original poster described how to create an error-free ACPI table and make Linux use it.
The only trouble is that the IBM's ACPI compiler mentioned there is a Windows executable and one needs an access to the Windows box or maybe Wine to decompile and compile back the ACPI table. I followed this procedure and everything is okay for several months already (though I need to specificaly tell the kernel that I need this override).
Maybe something like this will help? _________________ The geeks | Recommended Packages fOr Desktop & Server | Read BBCode Guide! |
|
Back to top |
|
|
Efo Guru
Joined: 23 Jun 2005 Posts: 494
|
Posted: Fri Jul 29, 2005 4:28 pm Post subject: |
|
|
Thanks Sir No,
Unfortunately I dont think I have the skills to do it (kinda new to linux). I guess I will keep the faulty percentage until I understand more about it. |
|
Back to top |
|
|
|