[Bug 880881] Re: Power indicator does not combine multiple battery status
** Changed in: indicator-power Assignee: (unassigned) = Charles Kerr (charlesk) ** Changed in: indicator-power (Ubuntu) Assignee: (unassigned) = Charles Kerr (charlesk) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/880881 Title: Power indicator does not combine multiple battery status To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/880881/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 880881] Re: Power indicator does not combine multiple battery status
Specification updated. https://wiki.ubuntu.com/Power?action=diffrev2=58rev1=56 ** Changed in: indicator-power Status: Confirmed = Triaged ** Changed in: indicator-power Assignee: Matthew Paul Thomas (mpt) = (unassigned) ** Description changed: I have an EliteBook 8540w with internal and external battery running Ubuntu 11.10 (oneiric). Linux 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux - The power indicator (indicator-power, version 0.9-0ubuntu2) does not combine the status of both batteries. - E.g. if one battery still has 1 hour left, and the other has 2 hours left, it will show 1:00 or 2:00, instead of 3:00. + The power indicator (indicator-power, version 0.9-0ubuntu2) does not combine the status of both batteries. + E.g. if one battery still has 1 hour left, and the other has 2 hours left, it will show 1:00 or 2:00, instead of 3:00. E.g. When the external battery is almost run out (but the internal one is still charged), the indicator becomes red, instead of staying white/grey. It should only be red when both batteries are almost drained. E.g. when the internal one is fully charged, and the external one is discharging, the estimated time show is the estimated time that the external one will be discharged, not taking into account the internal one. see attached screenshot (total time show should be around 4 hours) The original applet provided by gnome (I re-enabled the notification area) does (still) have the behavior as I expect. In other words, this is a regression compared to 10.10 (pre-unity). + + https://wiki.ubuntu.com/Power#multiple-batteries: If a device has + multiple batteries and uses only one of them at a time, they should be + presented as separate items inside the battery menu, but everywhere else + they should be aggregated. Their percentages should be averaged. If any + are discharging, the aggregated time remaining should be the maximum of + the times for all those that are discharging, plus the sum of the times + for all those that are idle. Otherwise, the aggregated time remaining + should be the the maximum of the times for all those that are charging. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/880881 Title: Power indicator does not combine multiple battery status To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/880881/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 880881] Re: Power indicator does not combine multiple battery status
** Branch linked: lp:~charlesk/indicator-power/lp-880881 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/880881 Title: Power indicator does not combine multiple battery status To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/880881/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 880881] Re: Power indicator does not combine multiple battery status
Thanks CharlesMatthew. That's somewhat a non trivial change and border line a feature (though a bugfix in spirit I think), doing a ffe from the bug just to get some review from the release team before landing that ** Changed in: indicator-power (Ubuntu) Status: Triaged = New ** Summary changed: - Power indicator does not combine multiple battery status + [ffe] Power indicator does not combine multiple battery status -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/880881 Title: [ffe] Power indicator does not combine multiple battery status To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/880881/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 880881] Re: Power indicator does not combine multiple battery status
Rob, the choice of selecting the mouse battery over the laptop battery in the use case in omeil's comment #3 is by design, since the specification is to choose the battery that will be empty soonest. However, I believe that's a separate issue from the two-laptop-batteries case reported by Mathieu here and by you in bug #1290623. It makes sense to combine two laptop batteries into a totaled representation; it doesn't make sense to do that for a laptop battery + mouse battery. :) So, I sat down to code on this yesterday and realized there are still cases where I'm not sure what the Right Thing is. The spec's revised form says to total together multiple batteries iff a device has multiple batteries and uses only one of them at a time but judging from Rob's upower dump yesterday https://launchpadlibrarian.net/169021213/UPowerDump.txt another valid use case is two laptop batteries that are both discharging. My thoughts on it: * If the laptop has two or more DISCHARGING batteries (Rob's case), we could use an average of their percentages and the maximum of their time- remaining values. * Otherwise, if the laptop has one DISCHARGING and one or more IDLE batteries (Mathieu's case), we could use an average of their percentages and the sum of time-remaining. * Otherwise, if the laptop has one CHARGING and one or more IDLE batteries, we could use an average of their percentages and the maximum of the CHARGING time-remaining values. * Otherwise, if the laptop has both CHARGING and DISCHARGING batteries at the same time... first off, I'm not sure this is a meaningful use case? What icon would we use? :) We could use an average of the batteries' percentages and either not report a time, or use the maximum of the DISCHARGING time-remaining values. * Otherwise, do not average batteries together in the header. Punting back to mpt for a second opinion on this. ;) ** Changed in: indicator-power Status: Triaged = Confirmed ** Changed in: indicator-power Assignee: Charles Kerr (charlesk) = Matthew Paul Thomas (mpt) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/880881 Title: Power indicator does not combine multiple battery status To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/880881/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 880881] Re: Power indicator does not combine multiple battery status
That previous summary doesn't handle the two batteries charging, which should be a common occurrence. Let's try that again: * If the laptop has two or more DISCHARGING batteries (Rob's case), we could use an average of their percentages and the maximum of their time- remaining values. * Otherwise, if the laptop has one DISCHARGING and one or more IDLE batteries (Mathieu's case), we could use an average of their percentages and the sum of time-remaining. * Otherwise, if the laptop has one or more CHARGING or IDLE batteries, we could use an average of their percentages and the maximum of the CHARGING time-remaining values. * Otherwise, if the laptop has both CHARGING and DISCHARGING batteries at the same time... first off, I'm not sure this is a meaningful use case? What icon would we use? :) We could use an average of the batteries' percentages and either not report a time, or use the maximum of the DISCHARGING time-remaining values. * Otherwise, do not average batteries together in the header. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/880881 Title: Power indicator does not combine multiple battery status To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/880881/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 880881] Re: Power indicator does not combine multiple battery status
I thank you for your help on this. It's always nice to get confirmation that you aren't crazy when bugs like this happen. :) Yes those options sound nice, and I believe KDE handles this in similar ways. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/880881 Title: Power indicator does not combine multiple battery status To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/880881/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 880881] Re: Power indicator does not combine multiple battery status
For me the situation is even worse: Since 12.10 the power indicator displays my laptop battery and my MOUSE battery (Belkin bluetooth mouse) as second battery. Unfortunately it always chooses the mouse battery for display in the panel. This is of course completely useless, as I want to see how long the laptop battery lasts, not how long the mouse battery lasts. It seems to be impossible to select which battery to display in the panel? Selecting the mouse battery over the desktop battery is by design iff the mouse is reporting it will run empty sooner than the laptop. From the spec: The menu title should tell you at a glance what you need to know most: what device will lose power soonest (and optionally when), or otherwise which device will take longest to charge, optionally how long it will take, and optionally its current charge level. More detailed information can be accessed inside the menu itself. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/880881 Title: Power indicator does not combine multiple battery status To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/880881/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 880881] Re: Power indicator does not combine multiple battery status
I will add my comments, Charles, you say this is by design, but it is a design flaw. The battery gets down to about 5 minutes remaining, and stops discharging. That means, it will ALWAYS show 5 minutes remaining in the panel, but it is really only discharging from the second battery at that point. It..never...goes.away. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/880881 Title: Power indicator does not combine multiple battery status To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/880881/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 880881] Re: Power indicator does not combine multiple battery status
I forgot to mention this is a laptop with two batteries that I am speaking of. My bug got closed as a duplicate of this one... #1290623 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/880881 Title: Power indicator does not combine multiple battery status To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/880881/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 880881] Re: Power indicator does not combine multiple battery status
Still occurs in trusty. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/880881 Title: Power indicator does not combine multiple battery status To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/880881/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 880881] Re: Power indicator does not combine multiple battery status
Just installed 13.10 on my laptop with two batteries (previously running Gentoo). Got worried when battery seemed to be draining much faster than Gentoo/Gnome, but realised it was basing it's calculations on a single battery. It just went from 0% to 98% as the laptop switched between batteries. Both were present in the dropdown, as in the initial bug report. Any news? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/880881 Title: Power indicator does not combine multiple battery status To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/880881/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 880881] Re: Power indicator does not combine multiple battery status
For me the situation is even worse: Since 12.10 the power indicator displays my laptop battery and my MOUSE battery (Belkin bluetooth mouse) as second battery. Unfortunately it always chooses the mouse battery for display in the panel. This is of course completely useless, as I want to see how long the laptop battery lasts, not how long the mouse battery lasts. It seems to be impossible to select which battery to display in the panel? I don't know if my problem should be defined as new bug as it seems closely related to the old one here? (PS: reported this to bug #1026432 also) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/880881 Title: Power indicator does not combine multiple battery status To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/880881/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 880881] Re: Power indicator does not combine multiple battery status
** Tags added: backlog -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/880881 Title: Power indicator does not combine multiple battery status To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/880881/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 880881] Re: Power indicator does not combine multiple battery status
Specification updated. https://wiki.ubuntu.com/Power?action=diffrev2=30rev1=29 If a device has multiple batteries and uses only one of them at a time, they should be presented as separate items inside the menu, but should be totalled for the purpose of the menu title. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/880881 Title: Power indicator does not combine multiple battery status To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/880881/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 880881] Re: Power indicator does not combine multiple battery status
** Changed in: indicator-power Assignee: (unassigned) = charles (charlesk) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/880881 Title: Power indicator does not combine multiple battery status To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/880881/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 880881] Re: Power indicator does not combine multiple battery status
** Changed in: indicator-power Status: New = Confirmed ** Changed in: indicator-power (Ubuntu) Status: New = Confirmed ** Changed in: indicator-power Status: Confirmed = Triaged ** Changed in: indicator-power Importance: Undecided = Low ** Changed in: indicator-power (Ubuntu) Status: Confirmed = Triaged ** Changed in: indicator-power Importance: Low = Medium ** Changed in: indicator-power (Ubuntu) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/880881 Title: Power indicator does not combine multiple battery status To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/880881/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 880881] Re: Power indicator does not combine multiple battery status
** Attachment added: battery.png https://bugs.launchpad.net/bugs/880881/+attachment/2569853/+files/battery.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/880881 Title: Power indicator does not combine multiple battery status To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/indicator-power/+bug/880881/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 880881] Re: Power indicator does not combine multiple battery status
** Also affects: indicator-power Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/880881 Title: Power indicator does not combine multiple battery status To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-power/+bug/880881/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs