Page 1 of 1

Flow(s) for monitoring battery consumption?

Posted: 28 Jan 2019 17:58
by Wibbly
I'm looking for flows that can maintain variables that can be used, say, in a widget to show battery consumption since the battery was last on charge

E.g.

% lost with screen on
% lost with screen off

% lost/hr with screen on
% lost/hr with screen off
% lost/hr total

% time in deep sleep whilst the screen was off

Screen on time (hrs/mins)
Screen off time (hrs/mins)

Anyone already done something like this so I don't have to think about re-inventing the wheel?

Re: Flow(s) for monitoring battery consumption?

Posted: 28 Jan 2019 18:05
by Desmanto
It seems someone ever built it, but can't find the link now. I only remember ever posted my concept here : viewtopic.php?f=6&t=7618
I build the flow for a while, tested it and get various error. Then I digress. Currently not looking at it, since I have another flows to finished first. But I planned to come back and finish it.

Re: Flow(s) for monitoring battery consumption?

Posted: 28 Jan 2019 19:03
by skiptannen
A number of years ago the user kintrupf wrote an awesome group of flows that provides a good amount of battery information. You can probably use it as a starting point and add the other data you're looking to track. I've been relying on those flows for years and they still work perfectly:

http://automagic4android.com/forum/view ... stat#p8608

Re: Flow(s) for monitoring battery consumption?

Posted: 29 Jan 2019 16:17
by Wibbly
Thanks!