Bug 156652 - option to show one specific battery in battery plasmoid
Summary: option to show one specific battery in battery plasmoid
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-battery (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-25 16:21 UTC by Chani
Modified: 2008-11-15 15:07 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chani 2008-01-25 16:21:25 UTC
Version:            (using Devel)
Installed from:    Compiled sources

seems like it would be useful to only show one specific battery, for people who have batteries they don't care about or perhaps don't want both batteries stuck together in the same applet.
Comment 1 Christoph Burger-Scheidlin 2008-01-27 21:55:32 UTC
Considering bug 156078 this should be expanded to a subset of batteries and not only one. So if someone has 2 laptop batteries plus a MX1000 mouse (==3 batteries shown), only the 2 laptop batteries might be of interest.
Comment 2 Chani 2008-01-28 05:36:39 UTC
then they could add two battery widgets and set each to one of the batteries they're interested in. I'm not convinced that it's worth it to support every possible configuration in one widget.
Comment 3 Christoph Burger-Scheidlin 2008-01-29 03:21:44 UTC
I would think that the most common use case for the battery applet is for people to have 1 place to figure out how much power they have left in their laptop and thus a place to figure out how long the power will last. If you happen to have a device that reports its power, this becomes impossible for users with 2 battery bays. Either they have two batteries showing or they have one cumulative display that includes the mouse battery.
Comment 4 Sebastian Kügler 2008-01-29 13:16:28 UTC
On Tuesday 29 January 2008 03:21:45 Christoph Burger-Scheidlin wrote:
> I would think that the most common use case for the battery applet is for
> people to have 1 place to figure out how much power they have left in their
> laptop and thus a place to figure out how long the power will last. If you
> happen to have a device that reports its power, this becomes impossible for
> users with 2 battery bays. Either they have two batteries showing or they
> have one cumulative display that includes the mouse battery.


Yes, we should definitely only cumulate the charge percentage of batteries of 
the same type. That means adding a battery type to the powermanagement 
engine, and respecting that in the applet. I'll have a look.
Comment 5 Sebastian Turzański 2008-03-24 11:13:47 UTC
in my case it would be usefull as I have only one physical battery but widget somehow sees 2 betteries. so the maximum I can have is 50% of charge shown although I have my battery 100% charged
Comment 6 Todd 2008-03-24 17:00:34 UTC
I have the same problem Sebastian has.  I only have one battery, but my system supports 2 so it seems that the hardware reports there are two when only one of them really exists.
Comment 7 Sebastian Kügler 2008-11-15 15:07:58 UTC
Fixed in trunk, please verify with at least 4.1.73 if this still exists. In that case, reopen so we can have another look.