Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Battery charge inaccurate while status seems to work fine
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Efo
Guru
Guru


Joined: 23 Jun 2005
Posts: 494

PostPosted: Fri Jul 29, 2005 4:56 am    Post subject: Battery charge inaccurate while status seems to work fine Reply with quote

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
View user's profile Send private message
Sir No
Apprentice
Apprentice


Joined: 01 May 2005
Posts: 159
Location: Poland

PostPosted: Fri Jul 29, 2005 2:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
Efo
Guru
Guru


Joined: 23 Jun 2005
Posts: 494

PostPosted: Fri Jul 29, 2005 4:28 pm    Post subject: Reply with quote

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. :cry:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum