Show whether the bangle is charging or not.

pull/902/head
David Peer 2021-11-20 13:12:49 +01:00
parent f5eb53f503
commit 7d34f834cd
1 changed files with 2 additions and 1 deletions

View File

@ -59,8 +59,9 @@ function draw(queue){
// Draw battery
var bat = E.getBattery();
var charging = Bangle.isCharging() ? "*" : "";
g.drawString("BAT:", 40, 127);
g.drawString(bat+"%", 100, 127);
g.drawString(charging + bat+ "%", 100, 127);
// Draw steps
if(alarm < 0){