Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,772,106 Members 40,715 Now Online
XDA Developers Android and Mobile Development Forum

[1.2.4][DEC-30-2011] Battery notifier

Tip us?
 
bartito
Old
(Last edited by bartito; 13th February 2012 at 12:37 PM.) Reason: Attach screenshot
#1  
bartito's Avatar
Recognized Developer - OP
Thanks Meter 1117
Posts: 2,425
Join Date: Dec 2005

 
DONATE TO ME
Default [1.2.4][DEC-30-2011] Battery notifier

Hello,

I'm an obsessive-compulsive care of my phone :),
and I do not like to leave it charging overnight.

So I finally decided to develop a small utility that notifies every X minutes when the battery is charged, in order to remove the charger.

Also, I added a feature to notify when the battery charge is low.

You can set the notification ringtone, interval between notifications, number of notifications, charger type...

I hope you find it useful.

Please, report errors, if any...

* UI available in english and spanish

Used permissions

Boot completed: To test in boot time if the phone is plugged to a charger and begin the monitorization, if enabled
Vibrate: To vibrate, if enabled

Battery friendly

The application is only loaded when the charger is connected (via a service), and only is executed when the
battery level changes.
The resource compsumition (battery and memory) is extremly less.

History

1.0.0

First release

1.0.1

Null pointer assignment fixed

1.0.2

Fixed bug when click in the "only ac charger" checkbox
Added version info in the settings page

1.0.3

Translation string corrected

1.0.4

Small optimizations
Updated app name

1.0.5

Service start mode updated (internal implementation)

1.0.6

Added ability to set full charge is a percent or real full charge

1.2.3

Added low charge notifications (donors)

1.2.4

Added compatibility with Android 2.1

1.4.0

Internal improvements

1.4.1

Bugs corrected


Download link

https://market.android.com/details?i...atterynotifier



Screenshots


Attached Thumbnails
Click image for larger version

Name:	screen-1.jpg
Views:	1168
Size:	25.2 KB
ID:	835260   Click image for larger version

Name:	screen-2.jpg
Views:	1168
Size:	56.7 KB
ID:	835261   Click image for larger version

Name:	screen-3.jpg
Views:	1164
Size:	44.1 KB
ID:	835262   Click image for larger version

Name:	batterynotifier.png
Views:	1172
Size:	575 Bytes
ID:	836026  
Attached Files
File Type: zip langs.zip - [Click for QR Code] (1.0 KB, 42 views)
Phone model: LG G3 (due to locked bootloader: do not buy it if you like tinkering)

Twitter: @matrixppc

Download my Android Apps

The Following 8 Users Say Thank You to bartito For This Useful Post: [ Click to Expand ]
 
MadJoe
Old
#2  
MadJoe's Avatar
Senior Member
Thanks Meter 130
Posts: 798
Join Date: Jul 2007
Location: Boston
Thanks for sharing your app, I can see a couple uses for it and might even try it out.

I only ask that you please delete the part about "bad for your battery" (from your post, and your brain), since as long as the charging circuitry in your phone is working (which you'll know almost immediately if it fails because the battery will severely overheat, and possibly pop/leak) it is absolutely not bad for it to be left on the charger over night... unless you have a NiCad battery, or other pre-lithium tech battery that is. In that case ignore my last.



Sent from my Digital Brick
The Following User Says Thank You to MadJoe For This Useful Post: [ Click to Expand ]
 
DJBhardwaj
Old
#3  
DJBhardwaj's Avatar
Recognized Contributor
Thanks Meter 1814
Posts: 3,094
Join Date: Apr 2011
Location: Delhi

 
DONATE TO ME
Works great! Thanks for sharing

Sent from my LG-P500 using Tapatalk
Nexus 4 - ThinkingBridge ROM (Latest build) // Nexus S - ThinkingBridge ROM (Latest build) // HTC Desire Z - AOSP 4.2.2 // LG Optimus One - CyanogenMod 10
Nexus 4 Guide // Nexus S Guide
Follow me on Twitter!

( ( Join The Nexus 4 Geeks Community on G+ ) )


Kindly Obey The Forum Rules
Are you a Recognized Contributor? Please read this
 

 
bartito
Old
#4  
bartito's Avatar
Recognized Developer - OP
Thanks Meter 1117
Posts: 2,425
Join Date: Dec 2005

 
DONATE TO ME
1.0.2 is out
bug fixed
Phone model: LG G3 (due to locked bootloader: do not buy it if you like tinkering)

Twitter: @matrixppc

Download my Android Apps

The Following User Says Thank You to bartito For This Useful Post: [ Click to Expand ]
 
bartito
Old
#5  
bartito's Avatar
Recognized Developer - OP
Thanks Meter 1117
Posts: 2,425
Join Date: Dec 2005

 
DONATE TO ME
1.0.3 is out

Translation string corrected
Phone model: LG G3 (due to locked bootloader: do not buy it if you like tinkering)

Twitter: @matrixppc

Download my Android Apps

The Following User Says Thank You to bartito For This Useful Post: [ Click to Expand ]
 
aweaver33
Old
#6  
Senior Member
Thanks Meter 9
Posts: 110
Join Date: Apr 2011
Location: Palm Bay, FL
This looks like exactly what I've been looking for!
 
Nas@xdaDevelopers
Old
#7  
Member
Thanks Meter 8
Posts: 58
Join Date: Jan 2011
Location: Little Red Dot
Thanks. Just what I need. A simple app to notified me.
.
Device: Sony Eric**** Xperia X8 White (Bootloader Unlocked)
Rom:
GingerXperia V17 By xperiafan13
Kernel:
nAa-06b By nobodyAtall
 
bartito
Old
#8  
bartito's Avatar
Recognized Developer - OP
Thanks Meter 1117
Posts: 2,425
Join Date: Dec 2005

 
DONATE TO ME
1.0.5 is out
Phone model: LG G3 (due to locked bootloader: do not buy it if you like tinkering)

Twitter: @matrixppc

Download my Android Apps

The Following User Says Thank You to bartito For This Useful Post: [ Click to Expand ]
 
Crazydaddy
Old
#9  
Crazydaddy's Avatar
Senior Member
Thanks Meter 11
Posts: 264
Join Date: Feb 2011
Location: Hampton
Ty for this app!

Glacier-Rooted/OC'd/ Demonsped VU 2.39 w/Beats Audio
 
Nas@xdaDevelopers
Old
#10  
Member
Thanks Meter 8
Posts: 58
Join Date: Jan 2011
Location: Little Red Dot
Can it notified me when it's Fully Charged? 100% doesn't mean it's full charged.
.
Device: Sony Eric**** Xperia X8 White (Bootloader Unlocked)
Rom:
GingerXperia V17 By xperiafan13
Kernel:
nAa-06b By nobodyAtall

Tags
battery notifier
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes