Poll: Would you be happy not having the operator name, for Battery Percentage in its place?
Poll Options
Would you be happy not having the operator name, for Battery Percentage in its place?

Reply
Thread Tools
Posts: 1 | Thanked: 0 times | Joined on Apr 2012
#71
Originally Posted by MFaroTusino View Post
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.



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 ...
 
Posts: 233 | Thanked: 491 times | Joined on Oct 2011 @ Sydney
#72
Originally Posted by bhj128128 View Post
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?
__________________
Blogs I post to
MyNokiaBlog
UnleashThePhones

Hit thanks if I have helped in some way, or you agree with me

Twitter
-------------------------------------------------------------------------------
Battery Widget
#OperationUnicorn
Harmoji - Emoji for Harmattan

-------------------------------------------------------------------------------
N9 [Black] - Sailfish OS (1.x.x.xx)
N9 [White] - PR 1.3 [Stock]
N950 - Sailfish OS
Z10 LE - 10.2.1.1055
Dev Alpha C - 10.2.1.1055
 
TMavica's Avatar
Posts: 2,021 | Thanked: 1,060 times | Joined on Apr 2010 @ Hong Kong
#73
when is update? i standby long time
lol
__________________
The Glorious Lady T.Mavica
Twitter https://twitter.com/TMavica
 
Posts: 233 | Thanked: 491 times | Joined on Oct 2011 @ Sydney
#74
Originally Posted by TMavica View Post
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
__________________
Blogs I post to
MyNokiaBlog
UnleashThePhones

Hit thanks if I have helped in some way, or you agree with me

Twitter
-------------------------------------------------------------------------------
Battery Widget
#OperationUnicorn
Harmoji - Emoji for Harmattan

-------------------------------------------------------------------------------
N9 [Black] - Sailfish OS (1.x.x.xx)
N9 [White] - PR 1.3 [Stock]
N950 - Sailfish OS
Z10 LE - 10.2.1.1055
Dev Alpha C - 10.2.1.1055
 

The Following User Says Thank You to MFaroTusino For This Useful Post:
Posts: 233 | Thanked: 491 times | Joined on Oct 2011 @ Sydney
#75
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
__________________
Blogs I post to
MyNokiaBlog
UnleashThePhones

Hit thanks if I have helped in some way, or you agree with me

Twitter
-------------------------------------------------------------------------------
Battery Widget
#OperationUnicorn
Harmoji - Emoji for Harmattan

-------------------------------------------------------------------------------
N9 [Black] - Sailfish OS (1.x.x.xx)
N9 [White] - PR 1.3 [Stock]
N950 - Sailfish OS
Z10 LE - 10.2.1.1055
Dev Alpha C - 10.2.1.1055
 

The Following User Says Thank You to MFaroTusino For This Useful Post:
Posts: 233 | Thanked: 491 times | Joined on Oct 2011 @ Sydney
#76
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
__________________
Blogs I post to
MyNokiaBlog
UnleashThePhones

Hit thanks if I have helped in some way, or you agree with me

Twitter
-------------------------------------------------------------------------------
Battery Widget
#OperationUnicorn
Harmoji - Emoji for Harmattan

-------------------------------------------------------------------------------
N9 [Black] - Sailfish OS (1.x.x.xx)
N9 [White] - PR 1.3 [Stock]
N950 - Sailfish OS
Z10 LE - 10.2.1.1055
Dev Alpha C - 10.2.1.1055
 

The Following User Says Thank You to MFaroTusino For This Useful Post:
Posts: 109 | Thanked: 62 times | Joined on Mar 2012
#77
oh ya !!!!

just wait for this
 
TMavica's Avatar
Posts: 2,021 | Thanked: 1,060 times | Joined on Apr 2010 @ Hong Kong
#78
no problem at all
__________________
The Glorious Lady T.Mavica
Twitter https://twitter.com/TMavica
 
Dousan's Avatar
Posts: 1,161 | Thanked: 1,707 times | Joined on Jan 2010 @ Denmark
#79
I get a 404 on the DL link in the first poste (0.1.5).

Regards Dousan...
__________________
My Procreate art:
https://folio.procreate.art/dousan

My Søciety6:
http://society6.com/Dousan

Last edited by Dousan; 2012-04-21 at 16:46.
 
Posts: 617 | Thanked: 338 times | Joined on Mar 2011
#80
Originally Posted by Dousan View Post
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 .
__________________
N9 and N900 , the beauty and the beast
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 09:58.