openSUSE Forums > Hardware > Laptop » Need to disconnect/reconnect at least once for battery mode

Go Back   openSUSE Forums > Hardware > Laptop
Forums FAQ Members List Search Today's Posts Mark Forums Read


Laptop Questions about laptop hardware and laptop specific software (power management )

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 16-Jul-2008, 00:06
Puzzled Penguin
 
Join Date: Jul 2008
Location: Auckland, New Zealand
Posts: 12
ftabba hasn't been rated much yet
Lightbulb 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
Reply With Quote
  #2 (permalink)  
Old 02-Aug-2008, 06:34
Freek
Guest
 
Posts: n/a
Default Re: Need to disconnect/reconnect at least once for battery mode

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
Reply With Quote
  #3 (permalink)  
Old 02-Aug-2008, 07:07
Puzzled Penguin
 
Join Date: Jul 2008
Location: Auckland, New Zealand
Posts: 12
ftabba hasn't been rated much yet
Default Re: Need to disconnect/reconnect at least once for battery m

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
Reply With Quote
  #4 (permalink)  
Old 02-Aug-2008, 08:26
Flux Capacitor Penguin
 
Join Date: Jun 2008
Location: GMT+10
Posts: 5,221
ken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud of
Default Re: Need to disconnect/reconnect at least once for battery m

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.
Reply With Quote
  #5 (permalink)  
Old 05-Aug-2008, 10:22
Freek
Guest
 
Posts: n/a
Default Re: Need to disconnect/reconnect at least once for battery mode

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
Reply With Quote
Reply

Bookmarks

Tags
kpowersave, laptop


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2