Bug 200768 - Wrong number of batteries
Summary: Wrong number of batteries
Status: RESOLVED NOT A BUG
Alias: None
Product: plasma4
Classification: Unmaintained
Component: widget-battery (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-19 15:31 UTC by René Keimling
Modified: 2012-05-28 22:26 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description René Keimling 2009-07-19 15:31:11 UTC
Version:           1.0 (using KDE 4.2.96)
OS:                Linux
Installed from:    Ubuntu Packages

I've an Acer Travelmate 4002 WLMi Notebook with one installed battery. The notebook offers a slot, that can be optionally used for an optical driver or a second battery. I'm actually using an optical drive in this slot. I don't have a second battery. Nevertheless I can see two batteries:

empedokles@acer-notebook:~$ cat /proc/acpi/battery/BAT1/state
present:                 no

empedokles@acer-notebook:~$ cat /proc/acpi/battery/BAT0/state
present:                 yes
capacity state:          ok
charging state:          charged
present rate:            0 mW
remaining capacity:      646930 mWh
present voltage:         16711 mV

The battery plasmoid shows me these two batteries, although BAT1 is recognized by the system as "present: no". I've two battery symbols in the tray all the time. I've posted this problem already in the german ubuntuusers forum with two screenshot as attachments. There you can see how it looks like. The solution there was to post a bug report here :-)

http://forum.ubuntuusers.de/topic/akkuueberwachung-zeigt-falsche-anzahl-an-akku/

What can I do?
Comment 1 Sebastian Kügler 2009-12-22 21:57:09 UTC
Can you check what 

plasmaengineexplorer --engine powermanagement

shows (in both cases, screenshots with everything expanded would be very cool). I'd like to hide batteries that aren't plugged in, but need to be very careful here in because I don't have a second battery to test with. Your problem looks fixable, with a bit of help.

If you'd like to aid me in debugging this, I can run you through some more tests. Please let me know.
Comment 2 René Keimling 2009-12-23 17:12:56 UTC
Hello Sebastian,

I'm not sure if this helps you. In the attachment of this mail you will find 
two screenshots. The first one was taken when no battery was installed. You can 
see two empty battery symbols in the tray. The second screenshot is taken with 
one installed battery. There is no difference on any line in the 
plasmaengineexplorer for powermanagement, unfortunately. Sorry, but I cannot 
take a screenshot with two batteries plugged in, because I don't have a second 
battery.

Yes, I want to aid you in debugging this problem. Please feel free to give me 
more jobs :) Because of christmas it can happen that you have to wait some 
days for my response, please understand.

Sorry for my poor english, I'm working on it.

Kind regards,
René

Am Dienstag, 22. Dezember 2009 21:57:11 schrieb Sebastian Kügler:
> https://bugs.kde.org/show_bug.cgi?id=200768
> 
> 
> Sebastian Kügler <sebas@kde.org> changed:
> 
>            What    |Removed                     |Added
> ---------------------------------------------------------------------------
> - CC|                            |sebas@kde.org
> 
> 
> 
> 
> --- Comment #1 from Sebastian Kügler <sebas kde org>  2009-12-22 21:57:09
>  --- Can you check what
> 
> plasmaengineexplorer --engine powermanagement
> 
> shows (in both cases, screenshots with everything expanded would be very
>  cool). I'd like to hide batteries that aren't plugged in, but need to be
>  very careful here in because I don't have a second battery to test with.
>  Your problem looks fixable, with a bit of help.
> 
> If you'd like to aid me in debugging this, I can run you through some more
> tests. Please let me know.
>
Comment 3 Nicolas L. 2010-04-26 11:41:41 UTC
please add the screenshots on the bugreport and not in a mail ( this does not work )
Comment 4 Nicolas L. 2010-06-07 10:20:28 UTC
Do you reproduce with kde 4.4.4 or 4.5 beta ?
Comment 5 Myriam Schweingruber 2012-05-28 22:26:53 UTC
Closing for lack of feedback.