Please enable JavaScript. It will make this service more responsive and useable.
Welcome. Sign In Help
Project Home Downloads Documentation Issues Source Code Review
Summary | All Issues
Issue 571: Battery.menuExtra
Created
2014-03-17 15:09:55 CET by Nikolaus Schaller
Updated
2014-04-07 18:57:28 CEST
Status
Fixed
Related to:
something
Followed by
2 persons
Labels
Type:
Priority
Reported by Nikolaus Schaller 2014-03-17 15:09:55 CET [Report as Spam]
Low-Battery nicht als Alert (während dem sich die Batterie weiter entlädt) sondern als (Floating?) Panel (jedenfalls auf vorderster Ebene).

Dort dann regelmäßig in groß den Restfüllstand/Zeit anzeigen.

Kann von Hand geschlossen werden.

Wird bei Unterschreiten von 20%/10%/5%/2% wieder geöffnet.
Bie 0% bleibt es offen (bzw. geht gleich wieder auf).

Bei >30% geht es von selber zu.

D.h.
if(lastfill < 30 && fill >= 30)
[panel orderOut:nil];
if((lastfill > 20 && fill <= 20) ||
(lastfill > 10 && fill <= 10) ||
(lastfill > 5 && fill <= 5) ||
(lastfill > 2 && fill <= 2) ||
fill <= 0)
[panel orderFront:nil];
if([panel isVisible])
... update string ...
lastfill=fill;
Comment 1 by Nikolaus Schaller 2014-04-07 18:57:26 CEST [Report as Spam]
Please Sign in to write comments