Reply
Thread Tools
krk969's Avatar
Posts: 754 | Thanked: 630 times | Joined on Sep 2009 @ London
#1
Folks, here it is a deskop widget to display the battery level as a percentage.

Its in the desktop section as batlevel.
You need t enable extras-devel repository.

One thing I havent figured out completely is how to add it to the desktop add widgets menu, currenly it will appear in add shortcut as an app but when started it will open as a desktop widget.
It seems deskop widgets need to be libraries and mine is a binary, while i figure out the technicalities related to this feel free to play with this and discuss any bugs/improvements.

This is a very simple display, I will try adding more functional/eye-candy stuff if I dont get busy with some other projects. But Id like to hear your ideas.
just to let you know Im currently working on making it look more like a battery than a progress bar

Three ways to start it.

1. from X terminal run the command
run_batlevel

2. from the desktop , click add a shortcut , choose batlevel, and then click on the shortcut ( the shortcut can be deleted later as the widget will appear on the desktop )


3. The usual way, go to the applications menu and run the installed app.

Last but not the least, maemo fellow members have been most helpful in helping create this app . Hope the maemo spirit lives on and grows stronger , ok enough of the emotions now Ill let you guys develop more on this.

cheers,

Last edited by krk969; 2009-12-29 at 22:53.
 

The Following 15 Users Say Thank You to krk969 For This Useful Post:
krk969's Avatar
Posts: 754 | Thanked: 630 times | Joined on Sep 2009 @ London
#2
I guess I posted this in the wrong thread nstead of applications.
Mods pls feel free to move if not appropriate, but the app is specifically for N900 so maybe its ok to be here .
Sorry I couldnt find an option to move it.
 
Posts: 22 | Thanked: 3 times | Joined on Dec 2009
#3
Just tried it, it seems to work. 8 MB, I guess it's optified, isn't it?

Thank you very much, I was looking forward to something like this.
 
Banned | Posts: 291 | Thanked: 42 times | Joined on Dec 2009
#4
8 MB for this??? To see the battery level on the desktop that I see already in the status area? Another useless widget.
 
krk969's Avatar
Posts: 754 | Thanked: 630 times | Joined on Sep 2009 @ London
#5
Originally Posted by reycat View Post
Just tried it, it seems to work. 8 MB, I guess it's optified, isn't it?

Thank you very much, I was looking forward to something like this.
8 MB did you say ?

anyways the app itself is abt 17K only, maybe you had to download a list of other dependencies that werent on your N900.
Yes the app behaved well so far on my N900 past couple of days, doesnt use too much memory or cpu.
rest we will know soon when the others also try

to know the dependencies you can run this command on your N900

apt-cache showpkg batlevel


alternatively you can also see it when you are about to download the app from the application manager, it lists the dependencies in the details tab.

cheers

Last edited by krk969; 2009-12-29 at 23:12.
 
pr0xyfl00d3r's Avatar
Posts: 93 | Thanked: 22 times | Joined on Oct 2009 @ Gainsborough, uk
#6
Not workin for me, just get a black screen, and at top the loading icon
 
krk969's Avatar
Posts: 754 | Thanked: 630 times | Joined on Sep 2009 @ London
#7
Originally Posted by pr0xyfl00d3r View Post
Not workin for me, just get a black screen, and at top the loading icon

just minimize that screen( clicking on the top left hand corner ), you will see the widget on your desktop and that window just closes on its own immediately.
not sure why that window pops up and stays though I run the app int he background.
will be working on it .

Last edited by krk969; 2009-12-29 at 23:32.
 
Posts: 4 | Thanked: 1 time | Joined on Dec 2009
#8
Nice widget!I hope there will be an improvement of the interface in future
Good luck for future releases!
PS sorry for my bad english

Last edited by gabbre; 2009-12-29 at 23:40.
 
Posts: 3,664 | Thanked: 1,530 times | Joined on Sep 2009 @ Hamilton, New Zealand
#9
7.59MB wtf...
 
Posts: 670 | Thanked: 747 times | Joined on Aug 2009 @ Kansas City, Missouri, USA
#10
Originally Posted by OrangeBox View Post
8 MB for this??? To see the battery level on the desktop that I see already in the status area? Another useless widget.
krk969 deserves thanks for sharing his efforts with everyone - for FREE! If you don't want/like it, don't use it. But don't ***** about it. He doesn't deserve taking your crap for his work.
__________________
Registered Linux user #266531.
 

The Following 18 Users Say Thank You to Crashdamage For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 22:33.