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)

inamak 2012-05-06 07:32

Re: [Announce] Battery Percentage 'widget' for Nokia N9 - V0.2.0
 
Great work! I know that android battery icon sets are the wrong way round - but just in case you havent seen some of the icon sets have a look at this page: http://forum.xda-developers.com/show....php?t=1042490

I especially think the minimal battery set would look great with the current meego ui.

accountvip 2012-05-06 08:39

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

Originally Posted by inamak (Post 1202451)
Great work! I know that android battery icon sets are the wrong way round - but just in case you havent seen some of the icon sets have a look at this page: http://forum.xda-developers.com/show....php?t=1042490

I especially think the minimal battery set would look great with the current meego ui.

"Glow Battery" is beautiful...

MFaroTusino 2012-05-06 11:34

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

Originally Posted by accountvip (Post 1202394)
What's app name in store?

The one in store is called battery icon
http://store.ovi.com/content/272241

The Best Isaac 2012-05-06 19:35

Re: [Announce] Battery Percentage 'widget' for Nokia N9 - V0.2.0
 
2 Attachment(s)
If you like it and want to use it I will make the same set of icons for power saving mode.

inamak 2012-05-07 09:30

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

Originally Posted by The Best Isaac (Post 1202686)
If you like it and want to use it I will make the same set of icons for power saving mode.

These are excellent! Could you also make a set without the coloured bar behind the text (just the text on it's own in the battery border - would make it really easy to read)?

TMavica 2012-05-07 09:34

Re: [Announce] Battery Percentage 'widget' for Nokia N9 - V0.2.0
 
i think iphone style is better, the battery percentage next to the battery icon

MFaroTusino 2012-05-07 13:57

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

Originally Posted by TMavica (Post 1202920)
i think iphone style is better, the battery percentage next to the battery icon

Not sure if it can be done personally, but would be nice :)

MFaroTusino 2012-05-07 13:59

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

Originally Posted by The Best Isaac (Post 1202686)
If you like it and want to use it I will make the same set of icons for power saving mode.

Love them :) Please do. I will see if I can do like a theme alteration sort of thing with it as well.

Also, to anyone else who has suggestions or wants to help in anyway, keep it coming. Happy to listen to people's ideas. That's what TMO is all about, a community working together to get the most from their devices

Dragoss91 2012-05-07 14:12

Re: [Announce] Battery Percentage 'widget' for Nokia N9 - V0.2.0
 
@MFaroTusino - you better find a way to add your widget inside battery from status bar and make it run permanently with battery indicator

bnwg 2012-05-07 14:30

Re: [Announce] Battery Percentage 'widget' for Nokia N9 - V0.2.0
 
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 :))

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

TMavica 2012-05-09 09:58

Re: [Announce] Battery Percentage 'widget' for Nokia N9 - V0.2.0
 
Dont know you knew that or not, someone said PR1.3 will have this feather, source from china mainland

Dousan 2012-05-09 09:58

Re: [Announce] Battery Percentage 'widget' for Nokia N9 - V0.2.0
 
I would like it to be inside the battery, cuz if you find away to replace tel logo you could make a small app to replace that with custom name as on the N900.
If you and others prefer it that way, no problem for me to have it IOS way, just think if possible that space could be used better with the mod mentioned above ;)

Regards Dousan...

MFaroTusino 2012-05-09 10:10

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

Originally Posted by Dousan (Post 1203919)
I would like it to be inside the battery, cuz if you find away to replace tel logo you could make a small app to replace that with custom name as on the N900.
If you and others prefer it that way, no problem for me to have it IOS way, just think if possible that space could be used better with the mod mentioned above ;)

Regards Dousan...

I prefer it inside myself. If I could alter name, I would put like ram or something as an option. But yeah, my poll is there to get community feedback.

Quote:

Originally Posted by TMavica (Post 1203917)
Dont know you knew that or not, someone said PR1.3 will have this feather, source from china mainland

Didn't know that. ABOUT TIME! Not that I want to see my hard work be for nothing, but it is certainly the easiest way. Even having the sources for 1.2 hasn't really helped (except that I got sudo sort of working)

Jordi 2012-05-09 10:22

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

In fact, I do not care not to have the Op logo, what I do not want is to have the battery icon plus the percentage value in the same area.

Thanks again for your work.

TMavica 2012-05-09 10:52

Re: [Announce] Battery Percentage 'widget' for Nokia N9 - V0.2.0
 
if missed the operator name , then i prefer first choice

Win7Mac 2012-05-09 11:01

Re: [Announce] Battery Percentage 'widget' for Nokia N9 - V0.2.0
 
Really appreciate this!
And please don't forget about the symbols for power saving mode as well...

MFaroTusino 2012-05-09 11:31

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

Originally Posted by Win7Mac (Post 1203947)
Really appreciate this!
And please don't forget about the symbols for power saving mode as well...

Don't worry, they won't be left out :) Will try and put the current overlay on the percent icons :)

Win7Mac 2012-05-09 13:40

Re: [Announce] Battery Percentage 'widget' for Nokia N9 - V0.2.0
 
Just another idea:
Use 99%-symbol instead of 100%.
This saves 1 digit space and 100% is gone within seconds anyway...
Voted no as well... ;)

MFaroTusino 2012-05-09 13:42

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

Originally Posted by Win7Mac (Post 1204049)
Just another idea:
Use 99%-symbol instead of 100%.
This saves 1 digit space and 100% is gone within seconds anyway...
Voted no as well... ;)

Keep that in mind, cheers

accountvip 2012-05-09 14:14

Re: [Announce] Battery Percentage 'widget' for Nokia N9 - V0.2.0
 
Voted yes....
I don't want to see operator name, it is not necessary. I change it to black now.

immi.shk 2012-05-09 14:15

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

Add it in Settings...

the one who want it .. Enable it...

if you chuck this option with accordance to Poll "it would be a waste of Good Idea"

MFaroTusino 2012-05-09 14:20

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

Originally Posted by accountvip (Post 1204082)
Voted yes....
I don't want to see operator name, it is not necessary. I change it to black now.

How did you change it? Will save me a lot of time working out where to start :p

MFaroTusino 2012-05-09 14:21

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

Originally Posted by immi.shk (Post 1204083)
why Poll ??

Add it in Settings...

the one who want it .. Enable it...

if you chuck this option with accordance to Poll "it would be a waste of Good Idea"

I am thinking I will do that. Will need to brush up on my skills in adding a settings entry :p

dumpystig 2012-05-09 14:48

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

Originally Posted by MFaroTusino (Post 1204087)
How did you change it? Will save me a lot of time working out where to start :p

I would like to know this too - 'removing' the Operator name would suit me, making that top corner look less cluttered.

The Best Isaac 2012-05-09 20:43

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

Originally Posted by MFaroTusino (Post 1203025)
I will see if I can do like a theme alteration sort of thing with it as well.

I think this is a great idea. And to encourage you to do so, I've created six themes which you can include in your app. :)

#1
http://isaac.aquilatech.org/download...or_preview.png
Download ZIP package with separate files.

#2
http://isaac.aquilatech.org/download...id_preview.png
Download ZIP package with separate files.

#3
http://isaac.aquilatech.org/download...or_preview.png
Download ZIP package with separate files.

#4
http://isaac.aquilatech.org/download...id_preview.png
Download ZIP package with separate files.

#5
http://isaac.aquilatech.org/download...or_preview.png
Download ZIP package with separate files.

#6
http://isaac.aquilatech.org/download...id_preview.png
Download ZIP package with separate files.

ombre 2012-05-09 21:12

Re: [Announce] Battery Percentage 'widget' for Nokia N9 - V0.2.0
 
Number 6 is very elegant, kudos!

dumpystig 2012-05-09 21:19

Re: [Announce] Battery Percentage 'widget' for Nokia N9 - V0.2.0
 
Having all those increments from 1 to 100 seems a bit pointless to me. I would be happy knowing what my battery capacity was to within 5% increments.

And I still want to know where to change my Operator name text colour to black...

Dousan 2012-05-10 05:44

Re: [Announce] Battery Percentage 'widget' for Nokia N9 - V0.2.0
 
I like #4, #6 and #2 in that order ;)

Very nice initiative @the best isaac :)

Regards Dousan...

Ohh I would also like to know how to make the tel logo black...

inamak 2012-05-10 10:47

Re: [Announce] Battery Percentage 'widget' for Nokia N9 - V0.2.0
 
Those icons look great!

Could you do one more set - similar to #4 but instead of a white background with black text could you make it a transparent background with white text?

Thanks!

Dousan 2012-05-10 13:03

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

Originally Posted by inamak (Post 1204662)
Those icons look great!

Could you do one more set - similar to #4 but instead of a white background with black text could you make it a transparent background with white text?

Thanks!

As the ones in #2?

Regards Dousan...


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

vBulletin® Version 3.8.8