Current battery % {battery}

HawkerPaul

New member
The value this reports is always 1% less than the battery % that gets shown on the statusbar.
Is this a bug?
 

Endercraft

Moderator (& bug finder :D)
I don't have an issue like that but there may be a desync between the value shown is status bar and the actual value - sometimes MacroDroid reports the real value while the UI doesn't.
 

HawkerPaul

New member
It's very peculiar, as it now seems to have "caught up"!
I only just noticed this discrepancy as I have a macro that writes to the user log on battery % change, so I can monitor how the phone is running.
On looking at the log I saw the log % value was 1 less than the statusbar. This was the case from 64% down to 57%. I then had 2 battery level change events, and both were reported at 56%, so now what is being reported is the same as on the statusbar!

Very streange.
I'll keep an eye on it over the next day or 2.

Thanks for the advice.
 

MacroDroidDev

Administrator
Staff member
MacroDroid just uses the value that is in the broadcast message it receives from the system (It doesn't manipulate it in any way), so it's hard to say why the value in the status bar sometimes doesn't match (but I've never seen that personally).
 
Top