Need to disconnect/reconnect at least once for battery mode

Hi,

I recently installed opensuse 11/kde 3.5.9 on my laptop, an hp pavilion ze4900.

I’m having this really weird problem, for every booting instance, kpowersave does not detect the disconnection of power the first time it happens; yet things work fine on subsequent attempts (until I reboot again).

What I mean it, I turn on my laptop which is connected to the charger, I disconnect it from the charger, and kpowersave still thinks it’s connected. I reconnect it, then disconnect it for a second time, and that’s when kpowersave realizes that it’s disconnected. From this point on it seems to work correctly.

It also works correctly if I turn the laptop on without being connected to the charger to begin with.

Any ideas?

Thanks,
/Fuad

ftabba wrote:

>
> Hi,
>
> I recently installed opensuse 11/kde 3.5.9 on my laptop, an hp pavilion
> ze4900.
>
> I’m having this really weird problem, for every booting instance,
> kpowersave does not detect the disconnection of power the first time it
> happens; yet things work fine on subsequent attempts (until I reboot
> again).
>
> What I mean it, I turn on my laptop which is connected to the charger,
> I disconnect it from the charger, and kpowersave still thinks it’s
> connected. I reconnect it, then disconnect it for a second time, and
> that’s when kpowersave realizes that it’s disconnected. From this point
> on it seems to work correctly.
>
> It also works correctly if I turn the laptop on without being connected
> to the charger to begin with.

I have a more or less similar problem on two laptops and on one laptop in
two openSUSE versions, 10.3 and 11.0; on the other laptop I did not use
10.3. And both in KDE3 and KDE4. If I turn on the laptop with the power
plugged in, it shows plugged in but with a 50% loaded battery. I can
correct this by right clicking, change a setting and change it back, and
clicking OK. However, different from what you describe, if I unplug, it
shows the right status from that point on. In my case it really looks like
a bug in kpowersave. I search bugzilla but could not find a similar
described problem. I will make a bug report. In your case it could be a bug
which is described in bugzilla, but which has nothing to do with
kpowersave.

Could you try my method to see if that solves your problem of kpowersave not
showing the right status.


Freek

Actually I submitted a bug report a while ago, and after further investigation the problem isn’t with kpowersave, but it seems that its with the kernel loosing some AC events.

The report is at:
https://bugzilla.novell.com/show_bug.cgi?id=411741

Maybe you could add a comment there after reading the details over there if it matches yours…

Cheers

My experience is similar to freek’s, on one notebook it shows 50% charged even though it’s connected to AC. I fix it by unplugging the power plug from the notebook and then when I plug it in again, it shows On AC. That seems to fit the hypothesis of losing some AC events. It hasn’t bothered me enough to file a report, but I might add a comment to the report already open.

ken yap wrote:

>
> My experience is similar to freek’s, on one notebook it shows 50%
> charged even though it’s connected to AC. I fix it by unplugging the
> power plug from the notebook and then when I plug it in again, it shows
> On AC. That seems to fit the hypothesis of losing some AC events. It
> hasn’t bothered me enough to file a report, but I might add a comment
> to the report already open.

This my bug report.
https://bugzilla.novell.com/show_bug.cgi?id=414163
On my laptop it shows 51%. The behavior of kpowersave on my laptop is a
little different. When I unplug it shows immediately the right status.
It looks as if the first kpowersave does not read the status and does not
get a signal to read the status again. If I login a second time with
another user, that kpowersave has the right status.


Freek