Battery status not updated on HP nx6325 (edgy 6.10)

Bug #68064 reported by AndyB
12
Affects Status Importance Assigned to Milestone
acpi (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: acpi

The battery status is not updated when I plug in the power. Neither when running on battery and discharging.

uname -a
Linux hostname 2.6.17-10-generic #2 SMP Fri Oct 13 15:34:39 UTC 2006 x86_64 GNU/Linux

acpi -v
acpi 0.09

cat /proc/acpi/battery/C1BE/*
alarm: unsupported
present: yes
design capacity: 4830 mAh
last full capacity: 4830 mAh
battery technology: rechargeable
design voltage: 10800 mV
design capacity warning: 242 mAh
design capacity low: 49 mAh
capacity granularity 1: 100 mAh
capacity granularity 2: 100 mAh
model number: Primary
serial number: ###########
battery type: LIon
OEM info: Hewlett-Packard
present: yes
capacity state: ok
charging state: charged
present rate: 0 mA
remaining capacity: 4830 mAh
present voltage: 12601 mV

Revision history for this message
axelgenus (axelgenus-gmail) wrote :

This applies to me too. I own an HP Compaq nx7400.

It always happens when I boot on battery, very often when I boot on AC and sometimes when I change power status.

I don't know if it's an HP' BIOS bug or a problem in the kernel (the battery module in ACPI subsystem).

Revision history for this message
AndyB (semilbi) wrote : RE: [Bug 68064] Re: Battery status not updated on HP nx6325 (edgy 6.10)

i've been testing edgy beta for about a week, it seemed to me, the battery
status had worked someday, but i dont remember the date. but i cant remember
the date neither the version.

>From: axelgenus <email address hidden>
>Reply-To: Bug 68064 <email address hidden>
>To: <email address hidden>
>Subject: [Bug 68064] Re: Battery status not updated on HP nx6325 (edgy
>6.10)
>Date: Sat, 28 Oct 2006 11:25:28 -0000
>
>This applies to me too. I own an HP Compaq nx7400.
>
>It always happens when I boot on battery, very often when I boot on AC
>and sometimes when I change power status.
>
>I don't know if it's an HP' BIOS bug or a problem in the kernel (the
>battery module in ACPI subsystem).
>
>--
>Battery status not updated on HP nx6325 (edgy 6.10)
>https://launchpad.net/bugs/68064

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

Revision history for this message
IcedEarth (hartley-rat) wrote :

I too have this problem

I am cross checking using apci -V

and i get the same results every time, AC adapter plugged or unplugged,

It seems to report correctly upon boot but never updates.

I am puzzled as I swear this was working, but have done updates since.

uname -a
Linux icedearth 2.6.17-10-generic #2 SMP Tue Dec 5 22:28:26 UTC 2006 i686 GNU/Linux

acpi -v
acpi 0.09

AC Adapter in:

acpi -V
     Battery 1: charged, 100%
     Thermal 1: active[3], 42.0 degrees C
     Thermal 2: ok, 41.0 degrees C
     Thermal 3: ok, 27.0 degrees C
  AC Adapter 1: on-line

AC adapter removed:

acpi -V
     Battery 1: charged, 100%
     Thermal 1: active[3], 41.0 degrees C
     Thermal 2: ok, 41.0 degrees C
     Thermal 3: ok, 26.0 degrees C
  AC Adapter 1: on-line

How annoying, I have to keep my eyes open for the flashing orange light now to ensure I dont run out of battery as I did one afternoon in the library and lost a good hours worth of work :(

Revision history for this message
AndyB (semilbi) wrote : [Bug 68064] Battery status not updated on HP nx6325 (edgy 6.10)

It seems that this problem is due to improper shutdown (halt). If I kill (by
pushing the power button for 5 secs) the laptop (HP nx6325) boots up a lot
faster (it doesn't waste so much time 'till grub appears) and the battery
status is updated.
Without "killing" at boot time, there is also an audio problem when plugging
in earphones, the speakers are not muted.

>From: IcedEarth <email address hidden>
>Reply-To: Bug 68064 <email address hidden>
>To: <email address hidden>
>Subject: [Bug 68064] Re: Battery status not updated on HP nx6325 (edgy
>6.10)
>Date: Wed, 20 Dec 2006 17:12:36 -0000
>
>I too have this problem
>
>I am cross checking using apci -V
>
>and i get the same results every time, AC adapter plugged or unplugged,
>
>It seems to report correctly upon boot but never updates.
>
>I am puzzled as I swear this was working, but have done updates since.
>
>uname -a
>Linux icedearth 2.6.17-10-generic #2 SMP Tue Dec 5 22:28:26 UTC 2006 i686
>GNU/Linux
>
>acpi -v
>acpi 0.09
>
>AC Adapter in:
>
>acpi -V
> Battery 1: charged, 100%
> Thermal 1: active[3], 42.0 degrees C
> Thermal 2: ok, 41.0 degrees C
> Thermal 3: ok, 27.0 degrees C
> AC Adapter 1: on-line
>
>AC adapter removed:
>
>acpi -V
> Battery 1: charged, 100%
> Thermal 1: active[3], 41.0 degrees C
> Thermal 2: ok, 41.0 degrees C
> Thermal 3: ok, 26.0 degrees C
> AC Adapter 1: on-line
>
>How annoying, I have to keep my eyes open for the flashing orange light
>now to ensure I dont run out of battery as I did one afternoon in the
>library and lost a good hours worth of work :(
>
>--
>Battery status not updated on HP nx6325 (edgy 6.10)
>https://launchpad.net/bugs/68064

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

Revision history for this message
IcedEarth (hartley-rat) wrote :

It worked!

But how can I ensure a proper shutdown (and btw thats missing from my options now, i just have hibernate and suspend) I currently use Deskbar to shutdown.

I am a bit puzzled what can be done.

Revision history for this message
IcedEarth (hartley-rat) wrote :

Okay I finally found a solution

Its know as a 'bad state' error, theres quite a bit on HP site

I fixed it via this website

http://home.no/slazz/nx7400/#badstate

You need to unload the psmouse module in the shutdown script, its all detailed in there, I tried it and it worked!

Hooray!! Now for my swap file....

Revision history for this message
Rudi von Staden (rudi) wrote :

I have an HP nx6310 and was also experiencing exactly the same problem. I can also confirm that adding 'modprobe -r psmouse' to /etc/init.d/halt and /etc/init.d/reboot solved the problem.

The instructions were a little unclear as to where in the shutdown scripts to add 'modprobe -r psmouse'. I added it after
log_action_msg "Will now halt"
log_action_msg "Will now restart"
in the two respective scripts.

Suspend is still not working successfully, but that is a minor issue in comparison, though it may be related.

I also updated my BIOS from F.08 to F.0B, but that did not solve the problem.

Revision history for this message
Luka Renko (lure) wrote :

I think this is same as bug 82681 which is fixed in current Feisty kernel.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Andy, can you confirm that your problem is fixed with the 2.6.20-14 kernel? Or that unloading "psmouse" works for you?

Changed in acpi:
status: Unconfirmed → Needs Info
Revision history for this message
AndyB (semilbi) wrote : RE: [Bug 68064] Re: Battery status not updated on HP nx6325 (edgy 6.10)

Unloading psmouse works (I've added it on halt and reboot scripts), I
haven't installed feisty yet, so I can't check with kernel 2.6.20-14. (Then
I can check if suspend and standby behave as expected too.)

>From: Tormod Volden <email address hidden>
>Reply-To: Bug 68064 <email address hidden>
>To: <email address hidden>
>Subject: [Bug 68064] Re: Battery status not updated on HP nx6325 (edgy
>6.10)
>Date: Thu, 12 Apr 2007 13:00:09 -0000
>
>Andy, can you confirm that your problem is fixed with the 2.6.20-14
>kernel? Or that unloading "psmouse" works for you?
>
>** Changed in: acpi (Ubuntu)
> Status: Unconfirmed => Needs Info
>
>--
>Battery status not updated on HP nx6325 (edgy 6.10)
>https://bugs.launchpad.net/bugs/68064
>You received this bug notification because you are a direct subscriber
>of the bug.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

Revision history for this message
Przemek K. (azrael) wrote :

I can confirm that I had this bug on edgy and removing psmouse module helped, while on feisty I don't have this bug.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for acpi (Ubuntu) because there has been no activity for 60 days.]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.