maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [Announce] Battery Percentage 'widget' for Nokia N9 - V0.1.5 (https://talk.maemo.org/showthread.php?t=82526)

MFaroTusino 2012-05-07 14:38

Re: [Announce] Battery Percentage 'widget' for Nokia N9 - V0.2.0
 
Quote:

Originally Posted by Dragoss91 (Post 1203033)
@MFaroTusino - you better find a way to add your widget inside battery from status bar and make it run permanently with battery indicator

I have a way, at the moment it works, but not automatically. Some reason the loop isn't called continously :/ Am currently testing afew different methods :)

MFaroTusino 2012-05-07 14:40

Re: [Announce] Battery Percentage 'widget' for Nokia N9 - V0.2.0
 
Quote:

Originally Posted by bnwg (Post 1203044)
The image for the battery icons in the status bar can be found in

/usr/share/themes/blanco/meegotouch/icons/

png starts with icon-l-energy-management-xxx and icon-m-energy-management-xxx (or some others) should be those we see in the status bar.

I think those original icons should be saved or backup in somewhere just in case these icons can be restored when removing the deb (even though mostly like not if I get auto update battery percentage in status bar :))

Thats actually the ones displayed when say device says "entering PSM or charging". Status icons are icon-s-status-batteryx.png :)

And yes, I've already taken that into account. Saved the statusbar config file, and the icons I alter. On removal, they are placed back :)

TMavica 2012-05-08 03:03

Re: [Announce] Battery Percentage 'widget' for Nokia N9 - V0.2.0
 
have you got the source code from the battery icon in ovi?

MFaroTusino 2012-05-08 03:24

Re: [Announce] Battery Percentage 'widget' for Nokia N9 - V0.2.0
 
Quote:

Originally Posted by TMavica (Post 1203307)
have you got the source code from the battery icon in ovi?

No, but if my current idea works, I won't need it :) Keep making subtle errors on my N950 and I get into reboot loop, plus I am concentrating on Uni, so it may be a while, but it will be coming, hopefully very soon

MFaroTusino 2012-05-08 03:48

Re: [Announce] Battery Percentage 'widget' for Nokia N9 - V0.2.0
 
Just a quick update. Got an implementation of the app atm, but seems like there's an issue with percentage, as device is 96%, but icon displays 91% :/

Charging indicator is working fine as far as I can tell. Will use it as is for today, see if any bugs come up, then will work on the sync between icon and %.

Thanks for being patient guys, really appreciate it, especially as this is my first major app on any platform

Dousan 2012-05-08 05:42

Re: [Announce] Battery Percentage 'widget' for Nokia N9 - V0.2.0
 
No worries I'm in no hurry and I think this is what the community is all about -> developing, testing and supporting/helping each other. So I'm sticking with your app, it's even getting better now with people chipping in with solutions for the graphic side :D

Regards Dousan...

immi.shk 2012-05-08 06:47

Re: [Announce] Battery Percentage 'widget' for Nokia N9 - V0.2.0
 
your icon is updating late..
why not add "current_charge_ percent + 3"
i.e "91%+3=94% which is close to current value 96%

and if the app_charge/actual_charge ratio changes (lets say app shows 91% but actual value 93% ) still you will be close to actual value :)

just a suggestion...

MFaroTusino 2012-05-08 10:58

Re: [Announce] Battery Percentage 'widget' for Nokia N9 - V0.2.0
 
Quote:

Originally Posted by immi.shk (Post 1203354)
your icon is updating late..
why not add "current_charge_ percent + 3"
i.e "91%+3=94% which is close to current value 96%

and if the app_charge/actual_charge ratio changes (lets say app shows 91% but actual value 93% ) still you will be close to actual value :)

just a suggestion...

It's not that. Its the updating of the icon. I found that it only updates on 10s, ie. 1,11,21,31, etc.

The text file gets updated, but seems it is only update in statusbar incrementally.

I think I will go back to my last implementation, needing to tap to load, and sort out the permission issues, and then auto-update

MFaroTusino 2012-05-09 09:31

Re: [Announce] Battery Percentage 'widget' for Nokia N9 - V0.2.0
 
1 Attachment(s)
Hey guys, just added a poll to the thread. Have had an idea, now I don't know if its do-able, but, if I can remove the operator name, and place the text there, thus having standard icon & percent (iOS style), would you be keen on it?

Of course, this means that you won't have the name of your telco there

Concept image attached :)

Sort of just trying to gauge your opinions so I know if it is worth time trying to explore the idea, or fixing current method

TMavica 2012-05-09 09:44

Re: [Announce] Battery Percentage 'widget' for Nokia N9 - V0.2.0
 
nice, make the percentage same size as the battery icon, i mean the height


All times are GMT. The time now is 10:26.

vBulletin® Version 3.8.8