FORUMS
Remove All Ads from XDA

DefyBatt & DefyLivepaper - Battery Widget & Livewallpaper for Defy scaling in 1% Step

42 posts
Thanks Meter: 15
 
By rznag, Member on 26th January 2011, 11:24 PM
Post Reply Email Thread
I wrote a Battery Widget for the Defy scaling in 1% Steps.
It`s quite simple at the moment, but was just for me.
So, if someone wants to have it, here`s the download:
http://db.tt/v8WROJt



Version 1.1:
-More Styles (Numbers, Numbers + %, Text)
-More Colours

Version 1.2:
-Choose Size


Screenshot (Widget on left side middle): 58%






If you like to get automatic updates or to donate something to me, i have a version for 0,50€ in the Market.
https://market.android.com/details?i...rznag.deffbatt
But will also update this file here, if i have a new version available.


Now also as livewallpaper:
URL=http://www.pic-upload.de/view-8817036/snap20110208_174901.png.html][/URL]





Link to apk:
Dropbox - DefyLiveWallpaper.apk - Online backup, file sync, and sharing made easy.

or as qr:

marketlink: https://market.android.com/details?i...rznag.liveDefy
The Following 10 Users Say Thank You to rznag For This Useful Post: [ View ] Gift rznag Ad-Free
 
 
26th January 2011, 11:28 PM |#2  
Member
Thanks Meter: 4
 
More
I'll give it a shot. Any special way to install it?
26th January 2011, 11:30 PM |#3  
OP Member
Thanks Meter: 15
 
Donate to Me
More
No, just download. If Dropbox cuts the .apk you`ll have to add it manually.
Happened to some people on german forum. Install it like every other app.
Add as widget to homescreen.
26th January 2011, 11:36 PM |#4  
Perilla_'s Avatar
Senior Member
Flag Cádiz
Thanks Meter: 147
 
More
Can you post a screenshot?

Thanks you.
26th January 2011, 11:38 PM |#5  
Member
Thanks Meter: 4
 
More
It did drop the .apk extension. What a great widget. Thanks for making it small and unobtrusive!
26th January 2011, 11:39 PM |#6  
Member
Thanks Meter: 4
 
More
Quote:
Originally Posted by Perilla_

Can you post a screenshot?

Thanks you.

It's just a tiny number with a % symbol. You can choose black or white text. It's smaller than the numbers in the status bar but not by much.
27th January 2011, 12:50 AM |#7  
Junior Member
Thanks Meter: 25
 
More
I did something similar, but as a notification instead of a widget. If anyone is interested: http://dl.dropbox.com/u/1464041/MotoCharge.apk

The images are taken from this thread: http://forum.xda-developers.com/showthread.php?t=724778
The Following User Says Thank You to zorgblaubaer For This Useful Post: [ View ] Gift zorgblaubaer Ad-Free
27th January 2011, 01:13 AM |#8  
Senior Member
Thanks Meter: 54
 
More
Guys you built such wonderful apps and never oublished it. Both of them are beautiful. Thanks again

Sent from my ME525 using XDA App
27th January 2011, 02:05 AM |#9  
Member
Thanks Meter: 35
 
More
How does it work? I mean, is the % real? Or does it estimate it, like Battery Left?

Edit: okay, I'll answer myself, you're using /sys/class/power_supply/battery/charge_counter. I didn't know about its existence! Great work! I wonder if we could modify the original Motorola APK to read that instead of /sys/class/power_supply/battery/capacity, so we don't need any extra software, hmm...

Edit 2: I was curious and searched. There seem to be two places where "capacity" is used. They are in /xbin/ssmgrd and /bin/charge_only_mode, both binaries. Would it be possible to hex-edit the "capacity" string to "charge_counter"?

Edit 3: whoops, somebody already thought of this. I'll take the discussion there so I don't hijack your thread
27th January 2011, 01:56 PM |#10  
Perilla_'s Avatar
Senior Member
Flag Cádiz
Thanks Meter: 147
 
More
Quote:
Originally Posted by zorgblaubaer

I did something similar, but as a notification instead of a widget. If anyone is interested: http://dl.dropbox.com/u/1464041/MotoCharge.apk

The images are taken from this thread: http://forum.xda-developers.com/showthread.php?t=724778

Don't autoupdate, right? I loaded at 24%, looked the file and was 24. Some tests later, I looked the file again and was 22. It still at 24.

Thanks for it, it's a first step
27th January 2011, 02:28 PM |#11  
Senior Member
Thanks Meter: 120
 
More
This is nice. This is a bit small for me though. I'd love it if you could make text color, opacity and size configurable as well as provide an option to not show the % sign. Thanks.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes