maemo.org Bugzilla – Bug 5594
Indicate charge level while charging
Last modified: 2012-03-24 11:46:02 UTC
You need to log in before you can comment on or make changes to this bug.
When the battery is charging, I can see no way to tell how much the battery has been charged already and how long it will take approximately to charge it. It would be nice to have some indication of this (e.g. by colours or bar height).
The animation that constantly changes the "charge level" is currently the way to show that you recharge (plus the LED light if that setting is enabled), so how should this be displayed?
(In reply to comment #1) > The animation that constantly changes the "charge level" is currently the way > to show that you recharge (plus the LED light if that setting is enabled), so > how should this be displayed? > The widget in the statusbar could be changed, such that the charge level only starts to rise starting from the current charge level (in the same way you see it in many other phones. Also, some more detailed info (% charged, ETA to full charge) could be added in the menu that appears when you click the statusbar widget. There now is a battery icon, but it does not add much information to what is already in the statusbar.
(In reply to comment #2) > The widget in the statusbar could be changed, such that the charge level only > starts to rise starting from the current charge level How should it be displayed that the battery is only 95% full instead of 100%?
(In reply to comment #3) > How should it be displayed that the battery is only 95% full instead of 100%? > OK, fair point. How about overlaying an icon over the green bar (e.g. of an electric plug) while charging and indicating the charge level by the height of the green bar underneath (without it continuously rising)? Anyway, I think more information should be available somewhere, such as in the menu that appears when you click the status area. Is the status-area-applet-battery source publicly available? If not, where should a request for opening it be made?
(In reply to comment #4) > Is the status-area-applet-battery source publicly available? It isn't, but see <https://garage.maemo.org/projects/advanced-power/> and <http://talk.maemo.org/showthread.php?t=14115> for alternatives. > If not, where should a request for opening it be made? I believe <http://wiki.maemo.org/Open_development/Why_the_closed_packages> would be the canonical place for such requests. BTW, FIXED isn't quite the right resolution since no one actually fixed anything :-) I think this is most likely a WONTFIX (but feel free to reopen if you disagree), since BME doesn't provide charge percentage while a power source is plugged in, just the "charging" state.
(In reply to comment #3) > How should it be displayed that the battery is only 95% full instead of 100%? The percentage (along with other info, see below) could be displayed in the status bar expanded view. (In reply to comment #5) > I think this is most likely a WONTFIX since BME doesn't provide charge > percentage while a power source is plugged in, just the "charging" state. I was wrong, that information is available on the N900: Nokia-N900-41-10:~# lshal -u /org/freedesktop/Hal/devices/bme udi = '/org/freedesktop/Hal/devices/bme' battery.charge_level.capacity_state = 'full' (string) battery.charge_level.current = 8 (0x8) (int) battery.charge_level.design = 8 (0x8) (int) battery.charge_level.last_full = 8 (0x8) (int) battery.charge_level.percentage = 96 (0x60) (int) battery.charge_level.unit = 'bars' (string) battery.is_rechargeable = true (bool) battery.present = true (bool) battery.rechargeable.is_charging = true (bool) battery.rechargeable.is_discharging = true (bool) battery.remaining_time = 0 (0x0) (int) battery.remaining_time.calculate_per_time = false (bool) battery.reporting.current = 1212 (0x4bc) (int) battery.reporting.design = 1252 (0x4e4) (int) battery.reporting.last_full = 1212 (0x4bc) (int) battery.reporting.unit = 'mAh' (string) battery.type = 'pda' (string) battery.voltage.current = 4065 (0xfe1) (int) battery.voltage.design = 4200 (0x1068) (int) battery.voltage.unit = 'mV' (string) info.addons = {'hald-addon-bme'} (string list) info.capabilities = {'battery'} (string list) info.category = 'battery' (string) info.parent = '/org/freedesktop/Hal/devices/computer' (string) info.product = 'Battery (BME-HAL)' (string) info.subsystem = 'unknown' (string) info.udi = '/org/freedesktop/Hal/devices/bme' (string) maemo.charger.connection_status = 'connected' (string) maemo.charger.type = 'host 500 mA' (string) maemo.rechargeable.charging_status = 'full' (string)
*** Bug 5800 has been marked as a duplicate of this bug. ***
(In reply to comment #3) > > The widget in the statusbar could be changed, such that the charge level only > > starts to rise starting from the current charge level > > How should it be displayed that the battery is only 95% full instead of 100%? Round the starting level down, i.e. the battery icon should animate between the last two icons (representing 87.5% charge and 100% charge; assuming there are 8 separate icons for different charge levels).
The charge level lshal reports doesn't change while charging. So it may not be technically possible after all.
(In reply to comment #9) > The charge level lshal reports doesn't change while charging. You are right, and the dbus bme interface doesn't provide any more info than previous versions either :-( Not closing again as there may be something else I'm overlooking.
If the batteries of the n900 are dumb and the whole logic is software (bme), then you (a nokia employee) could modify bme to export this information through dbus.
*** Bug 8529 has been marked as a duplicate of this bug. ***
*** Bug 10626 has been marked as a duplicate of this bug. ***
The Maemo 5 User Interface and Maemo 5 platform components (e.g. libraries) used for the N900 are considered stable by Nokia and it seems that there are no plans for official updates currently, hence nobody plans to work on this enhancement/wishlist request. (And in case you feel like discussing this situation: Nokia Customer Care or http://talk.maemo.org would be the place to do so as you will not reach Nokia officials in this community bugtracker - though all of this is really no news.) Reflecting this status by setting RESOLVED WONTFIX for this enhancement/wishlist request (see https://bugs.maemo.org/page.cgi?id=fields.html#status for status explanations). There is a small chance for issues in those Maemo components that are open source: Contributed patches could be included and made available in the Maemo 5 Community CSSU updates. The Maemo CSSU project is run by a small team of volunteers; see http://wiki.maemo.org/CSSU for more information. So in case that you can provide a patch that fixes the reported problem, please feel encouraged to file a request under https://bugs.maemo.org/enter_bug.cgi?product=Maemo%205%20Community%20SSU . Please note: The Maemo CSSU project is not related in any way to Nokia. ( Tag for mass-deleting bugmail: [cleanup20120324] )