Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    SImple QT Desktop Widget to display battery level and percentage in Extras-devel now

    Reply
    Page 1 of 6 | 1   2     3   | Next | Last
    krk969 | # 1 | 2009-12-29, 22:15 | Report

    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,

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by krk969; 2009-12-29 at 22:53.
    The Following 15 Users Say Thank You to krk969 For This Useful Post:
    askarir, bunanson, ceefour, Crashdamage, dread123, gabbre, humble, iKneaDough, joppu, kopte3, n900_ag, NvyUs, scifi.guy, tissot, YoDude

     
    krk969 | # 2 | 2009-12-29, 22:21 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    reycat | # 3 | 2009-12-29, 23:04 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    OrangeBox | # 4 | 2009-12-29, 23:06 | Report

    8 MB for this??? To see the battery level on the desktop that I see already in the status area? Another useless widget.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    krk969 | # 5 | 2009-12-29, 23:08 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

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

     
    pr0xyfl00d3r | # 6 | 2009-12-29, 23:23 | Report

    Not workin for me, just get a black screen, and at top the loading icon

    Edit | Forward | Quote | Quick Reply | Thanks

     
    krk969 | # 7 | 2009-12-29, 23:29 | Report

    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 .

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by krk969; 2009-12-29 at 23:32.

     
    gabbre | # 8 | 2009-12-29, 23:38 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by gabbre; 2009-12-29 at 23:40.

     
    maxximuscool | # 9 | 2009-12-29, 23:43 | Report

    7.59MB wtf...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Crashdamage | # 10 | 2009-12-29, 23:52 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 18 Users Say Thank You to Crashdamage For This Useful Post:
    12vibes, bbin, HRZ, iKneaDough, jkq, joelus, joppu, joshv06, kopte3, krk969, kyle, moodymeedo, n900_ag, nashith, qwerty12, rgoble4, timoph, truslack

     
    Page 1 of 6 | 1   2     3   | Next | Last
vBulletin® Version 3.8.8
Normal Logout