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)

bhj128128 2012-04-21 14:15

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

Originally Posted by MFaroTusino (Post 1168597)
You may have seen my post a while back about trying to replace the N9's battery icon for a percentage. Well I am half way there. At the moment, I am announcing an app Icon widget.

http://i.imgur.com/vywEs.png

This "widget" builds upon THP's IpAddr widget, and a lot of thanks goes to him for his support during the development of my app. I would also like to thank Ejas Mudar (MrModr), Schturman, and NovaG for their help along the way.

What does it do?
It is simple. Launching the app results in the execution of shell and python script in which the icon of the app is populated with the current percentage. IF the device is in a charging state, this will also be shown.

The percentage is gathered the same way that it does in the Settings>Device>Battery menu, so it is as accurate as it can be (I assume anyway).

There is a lot of work to still be done.

APP REQUIRES DEVELOPER MODE TO BE ENABLED

Current Install Method:
If you have V0.0.4 or earlier, remove first and then install v0.1.1 or later. If you have V0.1.1 or later, you can simply install over previous version

Install the latest version
If install doesn't download python and python imaging, do it via xterm (apt-get install python python-imaging)

To Do list:
-Centre "Chrg" Text
-Auto update of percentage (No need to tap icon) [If you know how to create the daemon for a script, please tell me ]
-Successfully replace status bar icon
-Increase text size and make bold

Current features:
-Transparent/Black/White percentage label (Will use the most popular)
-Displays current percentage/charging status when clicked
-FIXED: bug where app needs to be tapped twice sometimes to update (V0.0.2)
-FIXED: Avoid the terminal window that opens for a split second (V0.0.3)
-FIXED: Deb package (without any terminal input) (V0.1.1)

VERSIONS:
0.0.1 - Initial Release
0.0.2 - Fixed: Execute the app twice to update percentage
0.0.4 - Fixed: No terminal window; Permissions no longer an issue; App Icon in PKG MGR
0.1.1 - Fixed Install of 0.0.4/0.0.5 with code modifications for faster execution (Will remain available for those who wish to have it the way it is shown in the screenshot)
0.1.2 - Removed graphic from background
0.1.3 - Cleaned up the code and put as much of the app as I can outside the home directory


Any and all feedback/criticism is welcome.

I had installed the py and this app...but it can't work, only a blank icon at desktop, I executed the commond " ls -a " in terminal,but it just display one file ,I'm in PR1.2 ...

MFaroTusino 2012-04-21 14:54

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

Originally Posted by bhj128128 (Post 1195365)
I had installed the py and this app...but it can't work, only a blank icon at desktop, I executed the commond " ls -a " in terminal,but it just display one file ,I'm in PR1.2 ...

Which folder are you using "ls -a" in exactly? /home/user/.BatteryWidget?

TMavica 2012-04-21 15:08

Re: [Announce] Battery Percentage 'widget' for Nokia N9 - V0.1.3
 
when is update? i standby long time
lol

MFaroTusino 2012-04-21 15:15

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

Originally Posted by TMavica (Post 1195384)
when is update? i standby long time
lol

Its not a simply task, but I promise, I am doing my best. Uni schedule is making things slow but am definitely still working on this. Please be patient :)

MFaroTusino 2012-04-21 15:22

Re: [Announce] Battery Percentage 'widget' for Nokia N9 - V0.1.3
 
Pretty sure I have worked out the issue guys. Packaging is almost done.

Test the new version when it is released in 5 mins, and tell me it works :)

MFaroTusino 2012-04-21 15:43

Re: [Announce] Battery Percentage 'widget' for Nokia N9 - V0.1.3
 
Latest release is up, download and let me know that it has solved all the issues mentioned. Will try and work on the text size now while I have some time seeing as it is 1:45am here :p

Fallenzone 2012-04-21 15:47

Re: [Announce] Battery Percentage 'widget' for Nokia N9 - V0.1.3
 
oh ya !!!!

just wait for this

TMavica 2012-04-21 15:50

Re: [Announce] Battery Percentage 'widget' for Nokia N9 - V0.1.3
 
no problem at all

Dousan 2012-04-21 16:20

Re: [Announce] Battery Percentage 'widget' for Nokia N9 - V0.1.3
 
I get a 404 on the DL link in the first poste (0.1.5).

Regards Dousan...

Dragoss91 2012-04-21 22:13

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

Originally Posted by Dousan (Post 1195433)
I get a 404 on the DL link in the first poste (0.1.5).

Regards Dousan...

Same here .


I'm also suggesting you add remaining talk and standby time in a little bigger icon . :)


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

vBulletin® Version 3.8.8