Detailed battery usage?
Detailed battery usage – sort of like android has it – would be pretty nice. The battery usage screen is pretty empty right now :)
We have moved to a new Sailfish OS Forum. Please start new discussions there.
Detailed battery usage – sort of like android has it – would be pretty nice. The battery usage screen is pretty empty right now :)
My basic monitoring app is work in progress. One problem is that with the current Android-like static power management, the phone goes into a deep sleep soon after the display turns off. At that moment processes are not scheduled and timers don't trigger anymore. So basically any battery app can only show info as long as phone is not suspended (except by preventing the phone suspend altogether, but that will drain your battery).
It could still work well enough, even with the deep sleep limitation. As long as you know how much the battery dropped while the phone was sleeping, it can still be a good indication. That detail could be logged and shown as "Sleep time consumption" or something like that. Looking forward to it!
Drekkarian ( 2014-01-22 23:30:02 +0200 )editThere is detailed battery usage information in the "System Monitor" application by Basil Semuonov. It is a native Sailfish application. It records system information even when the application isn't running and the screen is off.
https://openrepos.net/content/basil/system-monitor
I'm sorry, I don't know what "sort of like Android has" means (I only use Sailfish) ;) but this application has all of the information that I need. I'm using it right now to view my battery usage over the past week. I love it. :)
If you enable developer mode, then you can in the terminal run
devel-su
pkcon install powertop
powertop
Powertop will show details of power usage at a given time. It can also be run to generate CSV or HTML reports.
Nevertheless, it would be good to have battery usage statistics collected by default, shown to user in UI and maybe even sent to some Jolla server for research and development of better power saving optimizations.
upower -d
this gives a lot of battery stats and is already on every JPhone. This information could be put on the battery GUI
not worked :(
[nemo@Sailfish ~]$upower -d -bash: гзupower: command not found
Ogust Biller ( 2018-10-28 09:18:42 +0200 )editWhat information are you actually looking for?
Possible relatively accurate info:
Not too unaccurate info:
Entering the realm of a shot in the dark style info:
So why are some of those listed as inaccurate or wildly inaccurate? This has to do with the way the device works. In the past on old style phones the power usage was a bit more predictable as only usage and cell tower recption changes etc fluctuated much. Other fluctuations where less. These days a smartphone has so many difference power points (settings for voltage, speed for power management) and switches so often between them in an attempt to save the maximum amount of power the approximation of power draw starts to be really hard. Also current drawn from the battery changes several times a second when in use. So if you factor in that you might also be moving, and your usage is hard to predict a remaining battery life prediction would only be relatively accurate if you kept doing the exact same thing, in the exact same place, in the exact same conditions. Which we all know will not happen. A rough estimation is definitely possible, but if it can be an hour or two off is it useful information?
Battery statistics etc over a longer period belong rather to an additional app due their potential impact on battery life. No need to log and store weeks of battery data and process it for the use of some. I think we want better battery life for all and decreasing it by collecting stats should be a choice.
What information? The OP said it clearly, "sort of like android has it". That includes the detailed breakdown: so-and-so consumed by the display, so-and-so by WiFi, so-and-so by GSM... and these are just hardware components. Plus of course you get a detailed breakdown per application.
pichlo ( 2015-02-02 19:43:50 +0200 )edit@pichlo: Not everybody always looks at all the android stuff, and sort of could mean anything. What are the bits the person who asked the question is interested in? Anyway I got to play around with a device for a few days now. And the detailed breakdown is almost completely random without truly useful data. Easiest to see was the display power consumption as brightness levels etc did not make any difference at all. Not sure if this is for all devices, but without specific hw to actually measure consumption at those points (which most hw does not have due to cost and die space) there is no way to give any remotely accurate values for that.
Philippe De Swert ( 2015-02-05 13:17:26 +0200 )editThis thread is public, all members of Together.Jolla.Com can read this page.
Asked: 2013-12-24 21:36:19 +0200
Seen: 3,493 times
Last updated: Dec 12 '15
Screen orientation setting / locking
Enable more refined locale Settings that are respected by system and 3rd-party apps
Replace default link behaviour (URL/twitter/facebook)
PBAP bluetooth profile support is requested [released]
My Jolla does not recognise any micro sd card. What I can do? [answered]
Wouldn't this be more of an app and not a Sailfish feature? Perhaps a port of the Meego Battery Usage app http://my-meego.com/software/applications.php?fldAuto=108&faq=1
Jarno ( 2013-12-24 21:43:07 +0200 )editIMHO this is pretty important, and shouldn't be factored out into its own app.
Kondou ( 2013-12-24 21:46:35 +0200 )editAn app needs access to counters/ statistics from the system like consumption history and consuming component. Otherwise, providing this information through a battery app would be finfe IMHO.
Nirkus ( 2013-12-26 01:04:00 +0200 )editYes, it should indicate at least an extimated remaining time, last time from recharging and include a "power saving" mode (with no Sync, reduced brightness etc....)
Andrea Grandi ( 2013-12-27 01:18:10 +0200 )edit@Jarno Vincit "battery usage" app provides absolutely useless (incorrect) information about power hogs and frequently actively consumes power itself (but does not show it)
dez ( 2013-12-28 23:18:58 +0200 )edit