MotoCharge | Status Bar Notification with 1% battery charge stepping

zorgblaubaer

Member
Aug 6, 2007
18
25
0
MotoCharge

The App MotoCharge displays die battery charge of Motorola Defy (and afaik also for Milestone 2, maybe more phones) in a 1% stepping. It is also able to show the battery status, temperature and voltage, just pull down the status bar. In case you are using a status bar in black, you can change the text color to white. More features to come ;)

I give the app away for free here in the forums. But in case you want to donate a little for my work, feel free to buy it from the market. (it costs 50 euro cents, I don't know how much that is in $$$ cent, but it should be around 60..)

Bug reports and feature requests in this Thread :)

Download here: http://dl.dropbox.com/u/1464041/Plain/MotoCharge.apk
(this will be a link as soon as I am allowed to post links)

 
Last edited:

Peglezn

Senior Member
Jan 23, 2011
91
6
0
Big thanks man ! exactly what i needed ...now i can uninstall defybat & batteryminder :)

could u make in future version to also display % not just the number ...and big thanks for this app :) is the free version on market aswell? couldnt find it
 

zorgblaubaer

Member
Aug 6, 2007
18
25
0
glad you guys like it ;)

"is the free version on market aswell?"
- no. it is just available here for free, sorry ;)

"could u make in future version to also display % not just the number"
- sure. i will include an option for that!

"More font color options in next update please"
- ayeaye! i just need to find a more storage friendly way to do so ;)
 
  • Like
Reactions: mad-defy

sp8y

Senior Member
Jan 27, 2011
302
53
0
Great app - nice one :)

Would you be able to change the font style & size so that it looks a bit more like the Motorola digital clock that's also in status bar :)

Thanks.
 

zorgblaubaer

Member
Aug 6, 2007
18
25
0
I've had a quick search & not sure if it's the same but "droid sans" looks to be similar or even the same as the standard clock font.
i played a bit with the font. it is def the right one, but maybe i need to displace the numbers a little bit downwards, it is not in line with the clock ;(

anyways, check out if you like the new version more ;)
 

sp8y

Senior Member
Jan 27, 2011
302
53
0
Yes that's great - looks much better - as you said it maybe could move down slightly but that's just a minor point for me.

As mentioned by a previous member a % icon would also look great alongside the numbers.

From my point of view you've done a nice job & I particularly like the way you can view the batt temp & voltage without having to see them all the time.

Thanks :)
 

zorgblaubaer

Member
Aug 6, 2007
18
25
0
if everyone really wants the % that hard, i can totally implement that. but i just tested it on my defy and the numbers are getting very very tiny that way. i will have to think more about that ;)

i could make the icon wider than 35px, i have to try that later..
 

sirdamnedone

Member
Dec 28, 2010
39
3
0
if everyone really wants the % that hard, i can totally implement that. but i just tested it on my defy and the numbers are getting very very tiny that way. i will have to think more about that ;)

i could make the icon wider than 35px, i have to try that later..
ty... but make a radio button for % display if maybe anyone don't want it.
(and color themes :D )
 
Last edited:

mick711

Senior Member
Dec 30, 2010
554
59
0
Joncy
Hello

I just modify StatusBarPolicy.smali for don't show time, i think it's possible to make that for battery, for that i think it's nécessary to modfy this line :

.line 615
iget-object v3, p0, Lcom/android/server/status/StatusBarPolicy;->mBatteryData:Lcom/android/server/status/IconData;

invoke-virtual {p2, v3, v7}, Lcom/android/server/status/StatusBarService;->addIcon(Lcom/android/server/status/IconData;Lcom/android/server/status/NotificationData;)Landroid/os/IBinder;

move-result-object v3

iput-object v3, p0, Lcom/android/server/status/StatusBarPolicy;->mBatteryIcon:Landroid/os/IBinder;


.line 896
iget-object v3, p0, Lcom/android/server/status/StatusBarPolicy;->mService:Lcom/android/server/status/StatusBarService;

iget-object v4, p0, Lcom/android/server/status/StatusBarPolicy;->mBatteryIcon:Landroid/os/IBinder;

iget-object v5, p0, Lcom/android/server/status/StatusBarPolicy;->mBatteryData:Lcom/android/server/status/IconData;

const/4 v6, 0x0

invoke-virtual {v3, v4, v5, v6}, Lcom/android/server/status/StatusBarService;->updateIcon(Landroid/os/IBinder;Lcom/android/server/status/IconData;Lcom/android/server/status/NotificationData;)V

For that this post can help : http://forum.xda-developers.com/showthread.php?t=780614

So can you add icon like that ?

http://forum.xda-developers.com/showthread.php?t=724778

I know this tools but i don't like to show just number .And i don't like to have two battery indicator :D

Thanks
 

karx23

Senior Member
Oct 14, 2010
76
16
0
Great app, but every time i open my phone it opens the app and shows the black screen where it asks about the black or white status bar
 

gramps50

Senior Member
Feb 1, 2011
127
12
0
I'm I reading this correct that you are trying to add the option to replace the stock battery status icon with yours or the %? If so this is great! I don't see a reason to have 2 battery status indicators in the notification bar.

Thanks for your work
 

zorgblaubaer

Member
Aug 6, 2007
18
25
0
I'm I reading this correct that you are trying to add the option to replace the stock battery status icon with yours or the %? If so this is great! I don't see a reason to have 2 battery status indicators in the notification bar.
no sorry man, that is not what i am working at ;)
what i meant is that i am trying to prevent the settings windows from showing up when the app starts.

i dont think it is possible for a normal app to hide the systems battery indicator (maybe it is possible with su? maybe i will look into that after exams)