guidance doesn't find any battery if battery is not present on startup

Bug #228568 reported by daimadoshi85
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
guidance-power-manager (Ubuntu)
Won't Fix
Wishlist
Unassigned

Bug Description

Binary package hint: kde-guidance-powermanager

After upgrading to Hardy guidance doesn't recognize battery when powered by AC from startup, and Kubuntu freezes if I try to insert battery. When otherwise battery is inserted on startup, everything works fine.
I've done this screenshot to explain what I mean. This is the situation if I don't insert the battery on laptop. Battery is not recognized (also the icon is different) and if I want to use it I must restart with battery inserted.
Package version is:

kde-guidance-powermanager:
  Installato: 0.8.0svn20080103-0ubuntu16
  Candidato: 0.8.0svn20080103-0ubuntu16
  Tabella versione:
 *** 0.8.0svn20080103-0ubuntu16 0
        500 http://it.archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status

kde-guidance:
  Installato: 0.8.0svn20080103-0ubuntu16
  Candidato: 0.8.0svn20080103-0ubuntu16
  Tabella versione:
 *** 0.8.0svn20080103-0ubuntu16 0
        500 http://it.archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
daimadoshi85 (dragon-fog) wrote :
Revision history for this message
Andreas Wenning (andreas-wenning) wrote :

That is how it handles batteries as it is now. It doesn't really handle removal/insertion of batteries that well.

This bug should be marked as wishlist.

Revision history for this message
Scott Kitterman (kitterman) wrote :

No. It should recognize the battery on startup.

Please run the power manager from a konsole shell.

1. Exit guidance-power-manager (right click on the icon and select quit).
2. Open a konsolse shell.
3. Type guidance-power-manager

If that produced any output, attach that to the bug.

For your initial startup errors, look in your user's .xsession-errors for anything that appears power-manager, hal, or dbus related.

Revision history for this message
Andreas Wenning (andreas-wenning) wrote :

@Luca
Am I understanding right, that the battery is not present (eg. physically removed) when booting?

And does it work if you are running on A/C when booting and the battery is inserted?

Revision history for this message
daimadoshi85 (dragon-fog) wrote :

@ Awen Yes. You're right. Battery is not present phisically when booting. and the situation is like my screenshot.
If I insert it later there are two consequences :
a - System doesn't freeze, but battery is not recognized. The situation is the same of my screenshot and doesn't change.
b - System freezes.

Revision history for this message
daimadoshi85 (dragon-fog) wrote :

Obviously happens consequence a OR consequence B.

Revision history for this message
Andreas Wenning (andreas-wenning) wrote :

Thanks for clearing that up.

Then this is a wishlist bug. g-p-m doesn't actually handle battery insertions.

The system freeze however has nothing to do with this or guidance-powermanager. I will suggest you look in /var/log/syslog or some of the other logs to see if you can find a cause for the freeze and report it as a new bug.

Revision history for this message
daimadoshi85 (dragon-fog) wrote :

Normally the system doesn't freeze, but if it will happen another time I will notice you.
I want to specify also that if I insert the battery and remove A/C, the laptop works without say battery's remaining time.
I hope you will solve this behaviour :)
Thank you

Changed in kde-guidance:
importance: Undecided → Wishlist
Revision history for this message
MarkusP (markus-petermann050217) wrote :

I have a very similar problem: If the battery is not present at startup, g-p-m does not detect if it is inserted. My system does not freeze. Only an exit of g-p-m in the tray bar and a manual start in a console fixes the problem.

But: This "feature" was available with Feisty, so it is quite annoying that it no longer works with Hardy.

PS: Once a restart of g-p-m is done the battery can be removed and readded without problems, even after a suspend oder hibernate.

Greetings

affects: kde-guidance (Ubuntu) → guidance-power-manager (Ubuntu)
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Guidance Power Manager has been removed from Kubuntu 10.04 and onwards since it is unmaintained. Unfortunately, this means that no new features or bugfixes will be made.

Changed in guidance-power-manager (Ubuntu):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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