Sponsored Content
Full Discussion: Battery always 0%
Operating Systems Linux Battery always 0% Post 302342324 by Charbs on Saturday 8th of August 2009 08:20:18 PM
Old 08-08-2009
Question Battery always 0%

Im running Ubuntu 9.04 and the battery indicator on my laptop always reads 0% no matter what. Whether im charging or discharging, the pop up says:

"Computer is running on battery power
Laptop battery discharging (0.0%)
Battery discharge time is currently unknown"

When plugged in it says pretty much the same thing but charging:

"Computer is running on AC power
Laptop battery charging (0.0%)
Battery charge time is currently unknown"

My battery is fine because I can run off the battery for a good 2 hours so that shouldnt be the problem. If anyone has any information on why this is happening or how to fix it, it would help me greatly.

Mainly because when im running on battery there is no warning when the computer is about to die, and it will jsut abruptly shut off with no warning. Simply cuz Ubuntu doesnt know how much time is remaining and when to warn me.

Some more info if this helps anyone:

/proc/acpi/battery/BAT1/info

present: yes
design capacity: 6000 mAh
last full capacity: unknown
battery technology: rechargeable
design voltage: 14800 mV
design capacity warning: 250 mAh
design capacity low: 150 mAh
capacity granularity 1: 10 mAh
capacity granularity 2: 25 mAh
model number: JM-6
serial number: 3761513358
battery type: LION
OEM info: Hewlett-Packard

/proc/acpi/battery/BAT1/state

present: yes
capacity state: ok
charging state: charged
present rate: unknown
remaining capacity: unknown
present voltage: unknown


This has to do with some sort of ACPI problem, but ive tried ACIP=FORCE but doesnt help.


More info when I run sudo acpi -V in terminal before and after I unplug the power cable.

WITH AC ADAPTER:

charbs@charbs-laptop:~$ sudo acpi -V
[sudo] password for charbs:
Battery 0: Full, 100%
AC Adapter 0: on-line
Thermal 0: ok, 53.0 degrees C
Cooling 0: Processor 0 of 10

WITHOUT AC ADAPTER (Just after unplugging)

charbs@charbs-laptop:~$ sudo acpi -V
Battery 0: Discharging, 100%, 71582:46:00 remaining <---------(This will stay at 100% forever even when batter is low)
AC Adapter 0: off-line
Thermal 0: ok, 54.0 degrees C
Cooling 0: Processor 0 of 10
charbs@charbs-laptop:~$


So as you can see, my battery is somewhat recognized, but the Power Management icon wont register any info properly.
 

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

A1000 Battery Question

After searching and finding the link to the A1000 pdf ( http://192.18.99.138/805-7147/805-7147.pdf ) my questions are: 1) I have a battery failure on a A1000. I know that caching is disabled and it reports to see log. After reading the manual I have learned that the battery is a data-cache... (2 Replies)
Discussion started by: finster
2 Replies

2. Solaris

SE 3510 Battery Issue

Hi everyone, I changed the batteries on 29-Jun-2008 for the storedges. But received error messages from the server today,I used the "-u" option to update the service date information but it syntaticaly fails. Why? Jul 4 12:00:03 auriga SUNWscsdServer: <rctrl8001> The battery on... (3 Replies)
Discussion started by: incredible
3 Replies

3. Hardware

StorageTek 2540 battery failed

Hi all, My Sun StorageTek 2540 have redundant batteries, but a battery was failed. # /opt/SUNWstkcam/bin/sscs list -d MyStorage1 fru Name FRU Alarm State Status Revision Unique Id -------------------------- ----------- --------... (2 Replies)
Discussion started by: buyantugs
2 Replies

4. Programming

c/c++ clock like , battery charging

Hi all , I need to make a program who describes this ( upper ) graphic: http://upload.wikimedia.org/wikipedia/commons/8/82/Sawtooth-td_and_fd.png My idea is to implement a battery charge x: 0 to time T, y : 0 to 1 values. Can you help me ? (1 Reply)
Discussion started by: jerold
1 Replies

5. AIX

TOD battery dead

My TOD battery of IBM 285 is dead Fast question: i have to buy an original battery(there is only one on ebay!) Or i can use a normal lithium battery for pc bios? Thanks (2 Replies)
Discussion started by: Linusolaradm1
2 Replies
BATTERY-STATS(5)						File Formats Manual						  BATTERY-STATS(5)

NAME
battery-stats - collected battery statistics DESCRIPTION
The battery-stats contains statistics about battery charge over time, as collected by the battery-stats-collector (8) daemon. FORMAT
Each line in the file represents one sample and is of the form: <seconds> <charge%> <powermode> <UTC-date> <UTC-time> separated by spaces and terminated by a newline. Where: seconds is the number of seconds since 1st Jan 1970 00:00:00 UTC charge% is the battery charge a number between 0 and 100 powermode indicates the power mode: 0 A/C off 1 On battery 2 On backup power UTC-date a human-readable date in the format YYYY/MM/DD. Note that this is in UTC, not the local or system timezone. UTC-time a human-readable time in the format HH:MM:SS (using a 24-hour clock). Note that this is in UTC, not the local or system timezone. minutes-left is the BIOS estimate of how many minutes of running time the battery would provide. This may be unreliable, depending on the BIOS through which it was collected. EXAMPLE
A battery under charge might result in the following samples: 1032651245 27 1 2002/09/21 23:34:05 94 1032651275 28 1 2002/09/21 23:34:35 97 1032651305 29 1 2002/09/21 23:35:05 100 1032651335 30 1 2002/09/21 23:35:35 103 1032651365 30 1 2002/09/21 23:36:05 106 FILES
The default set-up is to save battery statistics in /var/log and rotate the logs weekly, which results in this set of files: /var/log/battery-stats - current (most recent) statistics /var/log/battery-stats.[0-9]+ - less recent statistics /var/log/battery-stats.[0-9]+.gz - ancient statistics SEE ALSO
battery-graph(1), battery-stats-collector(8). AUTHOR
Karl E. Jorgensen <karl@jorgensen.com> September 23, 2002 BATTERY-STATS(5)
All times are GMT -4. The time now is 01:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy