![]() |
Re: [Announce] advanced-systemui
Regarding the icons, I think trying to cram too much information into one icon is counterproductive. I'm unconvinced even that there should be a drain-rate indicator in the icon; being able to get to the numeric readout in a single key ought to be enough.
Also: the icon design I saw for drain-rate looks like an upward-pointing arrow. Doesn't it make more sense for the drain rate to be downward-pointing? |
Re: [Announce] advanced-systemui
Quote:
Quote:
-- BTW, there is a bug that causes the applet to lock up the statusbar and you'll need to kill hildon-desktop to restart it. It happened when I was rapidly plugging and unplugging the charger, I'm still testing for the actual cause. |
Re: [Announce] advanced-systemui
1 Attachment(s)
Quote:
Since the real battery capacity is 1500 mAh, we can link an active time to a drain current (as current=capacity/time), making a little more sense of it. So, l propose: >10h gray, 10-6 h yellow, 6-4 h orange, <4 h red That would mean, in mA: < 150 gray, 150-250 yellow, 250-375 orange, > 375 red But I see odd battery drops (see graph, do you see them in your device too?), so taking into account the real battery drop in the 2 hours testing period, it would mean a 1.22 (22%) correction factor. So, my final proposal, if the battery drops are common: < 120 gray, 120-200 yellow, 200-300 orange, >300 red What do you think? P.S.: Some drains I've seen Minimum: 6 mA Idle, dimmed: 60 mA Idle, not dimmed, dark room (15 brightness): 70 mA Idle, not dimmed, light room (15 brightness): 120 mA Playing mp3 (osso mediaplayer cpu/dsp=266/177), screen off: 100 mA Playing mp3 stream, screen off: 200 mA Browsing, far IAP without energy saving support: 350-500 mA Maximum I've seen: 1200 mA Using speakers: up to +40 mA |
Re: [Announce] advanced-systemui
Quote:
Quote:
-- Any idea what would cause BME socket reading to block indefinitely? My C script worked fine but the applet blocks on the fifth request read, sixth read if it you include the BMentity reply. I even placed a select call before the reads but it always shows the socket to be ready. To get around this, the applet you have opens, reads and closes the socket every time it requests a value. The charging signal calls the BME update function to change the icon and was requesting a new value every time the charger was unplugged. It seems that requesting a new value too soon after the last can cause the read to block. I've now changed the code so only the 15 second timer requests new values but it might still be possible for some random event to cause read to block and lock up the statusbar. Finding a way to prevent this would not only prevent random lock ups but also use less cpu if it didn't have to open the socket for each request. |
Re: [Announce] advanced-systemui
Quote:
Probably because 7 h is the life I learned to expect because of old osso battery applet. Quote:
They could be linked to battery brand, since mine is not a Nokia original but a Mugen one. My Nokia one died of old age, so I'm unable to check with one. Quote:
Just do like the python script, write the request to the socket, and try to read the result but using a 0.5 or 1 s timeout. If the reading timeouts, then close and open the socket and repeat. |
Re: [Announce] advanced-systemui
Quote:
Quote:
|
Re: [Announce] advanced-systemui
Quote:
Quote:
Unrelated to the above: on my N800, I'm not getting the battery-charging sound (with ASUI 0.5.8). I haven't lately drained the battery enough to trigger the low-battery sound, so I don't know whether that's working. |
Re: [Announce] advanced-systemui
New ASUI and statusbar test binaries.
The screenshot-tool is launched when it should based on delay, takes about 1.5 to 2 seconds to run and then the sound is played, so this works as best as it can now. The BME lockup issue is still present... Quote:
Quote:
Quote:
|
Re: [Announce] advanced-systemui
Quote:
Quote:
I've used the python script to read bme at many different time intervals for hours with no problem. |
Re: [Announce] advanced-systemui
Quote:
so if basic status of bluetooth (on, off, in use) and wifi (on, off, connected) can be added to the ASUI icon then we are looking at a 2 icon slot save (i have already abandoned advanced backlight, saving a slot there. and back before it existed, there was separate icons for volume and backlight). |
| All times are GMT. The time now is 20:19. |
vBulletin® Version 3.8.8