Go Back   Android Forums > Android Phones > Motorola Droid X

test: Reply
 
LinkBack Thread Tools
Old December 19th, 2010, 11:44 PM   #1 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,470
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,066
Thanked 15,046 Times in 7,386 Posts
Default [App] BattMonX (Droid X Battery State Monitor via LED Indicator)

Well, what started out as a fun side-project and challenge (see this thread Is this even possible?) from Android Forums own Steven58 resulted in an actual app: BattMonX .

Some of the folks in the above thread were surprised that they hadn't heard about this app before. I had posted a thread in the Application Announcements forum (http://androidforums.com/application-announcements/229819-app-battmonx-droid-x-battery-state-monitor-via-led-status.html#post2027223), but neglected to in the main Droid X forum. So, I wanted to let those that don't frequent the Droid X root forum to know about this too.

Its an app (free in the Market) that will turn on the LED indicator on your Droid X to a selected color based-upon the current battery state (charging, discharging, charged, or low-battery).

Lots of other Android phones do light up the phone's LED when charging, but for some reason VZW/Motorola neglected to include this behavior in our beloved Droid X.

Anyway, for more details and screen shots, check out the announcement thread above. I hope you find this app as fun and useful as I do.

Cheers!

Advertisements
scary alien is online now  
Reply With Quote
The Following 13 Users Say Thank You to scary alien For This Useful Post:
dirtmouth (February 19th, 2011), dyno (December 22nd, 2010), fonefreak (December 20th, 2010), JediZombie (March 13th, 2011), jroc (January 31st, 2011), Mikeyz (February 25th, 2011), mruno (December 21st, 2010), mxsjw (December 21st, 2010), old.blue (February 23rd, 2011), Outlaw71 (December 21st, 2010), SplicedX (December 21st, 2010), Steven58 (December 20th, 2010), stonehenge1861 (February 23rd, 2011)
sponsored links
Old December 21st, 2010, 02:00 PM   #2 (permalink)
Senior Member
 
ECFfighter7232's Avatar
 
Join Date: Jul 2010
Location: Maryland
Posts: 1,493
 
Device(s): Thunderbolt-I Haz the 4G's! Girlfriend has my old Droid X
Carrier: Not Provided

Thanks: 168
Thanked 345 Times in 210 Posts
ecffighter7232
Default

got yourself a nice little article on droid life
BattMonX Brings Life to Your DROID X LEDs While Charging - Droid Life: A Droid Community Blog
__________________
Gtalk is the same as my sn.
PHoldridge7232 on twitter
ECFfighter7232 is offline  
Reply With Quote
The Following User Says Thank You to ECFfighter7232 For This Useful Post:
scary alien (December 21st, 2010)
Old December 21st, 2010, 02:05 PM   #3 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,470
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,066
Thanked 15,046 Times in 7,386 Posts
Default

Quote:
Originally Posted by ECFfighter7232 View Post
Dude, that is awesome! Thank you for the heads-up--I appreciate it a lot!

I don't get "out" much, lol (i.e., stray too much from AF or XDA), so I don't always see these things.

Cheers and have a great holiday!
scary alien is online now  
Reply With Quote
Old December 21st, 2010, 02:18 PM   #4 (permalink)
Senior Member
 
ECFfighter7232's Avatar
 
Join Date: Jul 2010
Location: Maryland
Posts: 1,493
 
Device(s): Thunderbolt-I Haz the 4G's! Girlfriend has my old Droid X
Carrier: Not Provided

Thanks: 168
Thanked 345 Times in 210 Posts
ecffighter7232
Default

yeah man no problem. they tweeted (god I hate that word) too. good work!
I pretty much stay on here all day while at work so... lol
have a merry Christmas! (or whichever holiday you choose to celebrate lol)
ECFfighter7232 is offline  
Reply With Quote
The Following User Says Thank You to ECFfighter7232 For This Useful Post:
scary alien (December 21st, 2010)
Old December 21st, 2010, 03:25 PM   #5 (permalink)
Senior Member
 
Hrethgir's Avatar
 
Join Date: Feb 2010
Location: Salem, OR
Gender: Male
Posts: 1,671
 
Device(s): Samsung Galaxy SIII, Motorola Droid X-retired, Apple iPhone 3Gs-retired, B&N Nook-rooted
Carrier: Verizon

Thanks: 96
Thanked 220 Times in 175 Posts
Default

I don't really care if the LED is on or not when it's charging, but I'll install thuis anyways because, well, I can!
__________________
Apple -> Android convert
Hrethgir is online now  
Reply With Quote
Old December 21st, 2010, 03:30 PM   #6 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,470
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,066
Thanked 15,046 Times in 7,386 Posts
Default

Quote:
Originally Posted by Hrethgir View Post
I don't really care if the LED is on or not when it's charging, but I'll install thuis anyways because, well, I can!
Lol! Thank you for the support!

I'm a little worried about my poor little power and home buttons on my phone from testing this app out so much (especially the set-on-boot functionality)...

Cheers and Merry Christmas!
scary alien is online now  
Reply With Quote
Old December 21st, 2010, 03:49 PM   #7 (permalink)
Senior Member
 
Outlaw71's Avatar
 
Join Date: Aug 2010
Location: Vancouver, British Columbia
Posts: 2,482
 
Device(s): Droid eXtreme... running the leaked Gingerbread 2.3.3./LG G2x running Bionix2 + Trinity kernel
Carrier: Not Provided

Thanks: 263
Thanked 483 Times in 315 Posts
Default

I followed this story in the root forum and loved it. Let's see you do that Apple... guy wants an app made, posts it up in an Apple forum, and a few days later he has his custom tailored app... not unless Steve Jobs is a good friend of his eh!

Oh and Scary, I still haven't seen my checking account app in the market yet?




Outlaw71 is offline  
Reply With Quote
Old December 21st, 2010, 04:23 PM   #8 (permalink)
Senior Member
 
Napalm's Avatar
 
Join Date: Jul 2010
Location: Memphis, TN
Posts: 640
 
Device(s): Samsung Note 3 Razr Maxx. Droid 4, Droid X,
Carrier: Not Provided

Thanks: 18
Thanked 37 Times in 37 Posts
Default

AWESOME. This is what I love about Android.

I need to get a developer kit and start trying to smrufup some code.

Thanks.
Napalm is offline  
Reply With Quote
Old December 21st, 2010, 05:31 PM   #9 (permalink)
Reformed PH
 
Steven58's Avatar
 
Join Date: Feb 2010
Gender: Male
Posts: 32,921
 
Device(s): Gnex AOKP Nightlies (KitKat)
Carrier: Verizon

Thanks: 8,948
Thanked 26,702 Times in 7,003 Posts
Default

You're famous-ish!!!!!! Yaaaaay! And I'm riding your coat tails!! mwah hahhahaha!
Steven58 is offline  
Reply With Quote
Old December 21st, 2010, 05:48 PM   #10 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,470
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,066
Thanked 15,046 Times in 7,386 Posts
Default

Quote:
Originally Posted by Steven58 View Post
You're famous-ish!!!!!! Yaaaaay! And I'm riding your coat tails!! mwah hahhahaha!
lol, emphasis on "-ish" ...

You certainly were the man with the idea and the inspiration for this app .

StevensShutdown, BattMonX.... What will be next?
scary alien is online now  
Reply With Quote
sponsored links
Old December 21st, 2010, 07:38 PM   #11 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,470
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,066
Thanked 15,046 Times in 7,386 Posts
Default

Quote:
Originally Posted by Outlaw71 View Post

Oh and Scary, I still haven't seen my checking account app in the market yet?
Outlaw,

OutlawSavingsAndLoan.apk (MD5sum: 260f6aceb40fa78f39e902373a17a8c0)

Enjoy!

scary alien is online now  
Reply With Quote
The Following 2 Users Say Thank You to scary alien For This Useful Post:
Outlaw71 (December 22nd, 2010), SplicedX (December 21st, 2010)
Old December 21st, 2010, 08:00 PM   #12 (permalink)
Reformed PH
 
Steven58's Avatar
 
Join Date: Feb 2010
Gender: Male
Posts: 32,921
 
Device(s): Gnex AOKP Nightlies (KitKat)
Carrier: Verizon

Thanks: 8,948
Thanked 26,702 Times in 7,003 Posts
Default

Seriously, can't you feel the love and camaraderie here? I love Android and Android Forums! You guys make it a great place!
Steven58 is offline  
Reply With Quote
The Following User Says Thank You to Steven58 For This Useful Post:
scary alien (December 21st, 2010)
Old December 21st, 2010, 08:44 PM   #13 (permalink)
Member
 
Join Date: Jun 2010
Posts: 239
 
Device(s): Verizon LTE Nexus Nexus 10 Nexus 7
Carrier: Verizon

Thanks: 58
Thanked 96 Times in 47 Posts
Default

Thank you so much Scary Alien! How is it that you can do what motorola couldn't? Thanks again!
__________________
Formerly DroidEris1981
SplicedX is offline  
Reply With Quote
Old December 21st, 2010, 08:51 PM   #14 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,470
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,066
Thanked 15,046 Times in 7,386 Posts
Default

Quote:
Originally Posted by DroidEris1981 View Post
Thank you so much Scary Alien! How is it that you can do what motorola couldn't? Thanks again!
No problem...glad I could help.

My son just got a Droid 2 Global (VZW didn't offer the Droid 2 for some reason) and it works great on his phone too.

Cheers!
scary alien is online now  
Reply With Quote
Old December 21st, 2010, 11:32 PM   #15 (permalink)
Senior Member
 
Join Date: Jun 2010
Location: Home
Gender: Male
Posts: 774
 
Device(s): HTC One (M8)
Carrier: Not Provided

Thanks: 79
Thanked 142 Times in 115 Posts
Default

awesome app. do you have a donation link?
mruno is offline  
Reply With Quote
The Following User Says Thank You to mruno For This Useful Post:
scary alien (December 22nd, 2010)
Old December 21st, 2010, 11:49 PM   #16 (permalink)
Senior Member
 
Join Date: Jun 2010
Posts: 2,441
 
Device(s): Droooooid-X, BB Storm 1 retired,
Carrier: Not Provided

Thanks: 19
Thanked 199 Times in 126 Posts
Default

holy blackberry batman!
bigbadwulff is offline  
Reply With Quote
Old December 22nd, 2010, 12:20 AM   #17 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,470
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,066
Thanked 15,046 Times in 7,386 Posts
Default

Quote:
Originally Posted by mruno View Post
awesome app. do you have a donation link?
Nah......its just been a fun project for me...never really envisioned such great response from people, lol.

Thank you for the kind words and feedback though--that is thanks enough.
scary alien is online now  
Reply With Quote
Old December 22nd, 2010, 12:20 AM   #18 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,470
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,066
Thanked 15,046 Times in 7,386 Posts
Default

Quote:
Originally Posted by bigbadwulff View Post
holy blackberry batman!
You don't know how long I've been waiting for someone to make a "Batman" reference. lol, I took a lot of grief from my daughter (who made the app icon from my directions). I was just trying to be mischievous and make a play on words (pun) when I had her put the Batman logo on the battery image (she didn't want to--she just rolled her eyes ).

Didn't think anyone had noticed...
scary alien is online now  
Reply With Quote
Old December 22nd, 2010, 07:57 AM   #19 (permalink)
Senior Member
 
Join Date: Jun 2010
Location: Home
Gender: Male
Posts: 774
 
Device(s): HTC One (M8)
Carrier: Not Provided

Thanks: 79
Thanked 142 Times in 115 Posts
Default

donations for beer or wine or cake is good for anyone.
now if you could just port over firesheep....
mruno is offline  
Reply With Quote
Old December 22nd, 2010, 10:48 AM   #20 (permalink)
Senior Member
 
Napalm's Avatar
 
Join Date: Jul 2010
Location: Memphis, TN
Posts: 640
 
Device(s): Samsung Note 3 Razr Maxx. Droid 4, Droid X,
Carrier: Not Provided

Thanks: 18
Thanked 37 Times in 37 Posts
Default

Quote:
Originally Posted by scary alien View Post
Outlaw,

Attachment 14539 (MD5sum: 260f6aceb40fa78f39e902373a17a8c0)

Enjoy!

Awesome naming too.

Quote:
Originally Posted by DroidEris1981 View Post
Thank you so much Scary Alien! How is it that you can do what motorola couldn't? Thanks again!
Cause he's a smooth pimp who love the ________! (obscure movie reference)
Napalm is offline  
Reply With Quote
The Following User Says Thank You to Napalm For This Useful Post:
scary alien (December 22nd, 2010)
sponsored links
Old December 22nd, 2010, 01:16 PM   #21 (permalink)
Junior Member
 
Join Date: May 2010
Posts: 52
 
Device(s):
Carrier: Not Provided

Thanks: 5
Thanked 4 Times in 4 Posts
Default

Using latest update. Couldn't get the charging light to go out after unplugging from a car charger. Didn't have this problem with an AC charger. Strange.
rfdesq is offline  
Reply With Quote
Old December 22nd, 2010, 02:45 PM   #22 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,470
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,066
Thanked 15,046 Times in 7,386 Posts
Default

Quote:
Originally Posted by rfdesq View Post
Using latest update. Couldn't get the charging light to go out after unplugging from a car charger. Didn't have this problem with an AC charger. Strange.
How long was the polling-interval set to?

I've had mine set to 5 minutes (300 seconds) before and it will not change the LED status until after its next checking cycle (i.e., up to whatever time duration is left in the current polling-interval).

Let me know if you want or are willing to do any debugging or view what the app is doing: its pretty easy with the aLogcat (free in the Market) app...I've got lots of debugging messages that you can see what the app is doing; just set a Log Filter to "BattMonX" and the "Level?" to "Debug" (via the Preferences in the second (More) menu page).

Thanks for the feedback and let me know if you have any issues or questions. I'm happy to help.

Cheers!
scary alien is online now  
Reply With Quote
Old December 22nd, 2010, 03:10 PM   #23 (permalink)
Reformed PH
 
Steven58's Avatar
 
Join Date: Feb 2010
Gender: Male
Posts: 32,921
 
Device(s): Gnex AOKP Nightlies (KitKat)
Carrier: Verizon

Thanks: 8,948
Thanked 26,702 Times in 7,003 Posts
Default

just read the new change log. (parsing integers....what a geek!)

Edit: I get top billing over Rachel.. w00t! (don't tell Rachel)
Steven58 is offline  
Last edited by Steven58; December 22nd, 2010 at 03:13 PM.
Reply With Quote
Old December 22nd, 2010, 03:14 PM   #24 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,470
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,066
Thanked 15,046 Times in 7,386 Posts
Default

Quote:
Originally Posted by Steven58 View Post
just read the new change log. (parsing integers....what a geek!)
Geeky as charged .

Edit: lol...I just read your edit too (good thing Rach has a sense of humor too!)
scary alien is online now  
Reply With Quote
Old December 22nd, 2010, 03:15 PM   #25 (permalink)
Reformed PH
 
Steven58's Avatar
 
Join Date: Feb 2010
Gender: Male
Posts: 32,921
 
Device(s): Gnex AOKP Nightlies (KitKat)
Carrier: Verizon

Thanks: 8,948
Thanked 26,702 Times in 7,003 Posts
Default

Quote:
Originally Posted by scary alien View Post
Geeky as charged .
Read the edit. (Steven runs)
Steven58 is offline  
Reply With Quote
Old December 22nd, 2010, 03:25 PM   #26 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,470
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,066
Thanked 15,046 Times in 7,386 Posts
Default

Quote:
Originally Posted by Steven58 View Post
Read the edit. (Steven runs)
lol, she's on her Macbook and I called her over to read the edit--careful, she's really good with Photoshop...
scary alien is online now  
Reply With Quote
Old December 22nd, 2010, 03:33 PM   #27 (permalink)
Junior Member
 
Join Date: May 2010
Posts: 52
 
Device(s):
Carrier: Not Provided

Thanks: 5
Thanked 4 Times in 4 Posts
Default

Quote:
Originally Posted by scary alien View Post
How long was the polling-interval set to?
Mine is set for 10 seconds. Only saw the LED failure to extinguish with car charger.
rfdesq is offline  
Reply With Quote
The Following User Says Thank You to rfdesq For This Useful Post:
scary alien (December 22nd, 2010)
Old December 22nd, 2010, 03:36 PM   #28 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,470
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,066
Thanked 15,046 Times in 7,386 Posts
Default

Quote:
Originally Posted by rfdesq View Post
Mine is set for 10 seconds. Only saw the LED failure to extinguish with car charger.
I'll definitely try this with my X and the car charger and the 10 second interval... Didn't think that would be an issue, but I'll test it and report back.

Thanks!
scary alien is online now  
Reply With Quote
Old December 22nd, 2010, 05:26 PM   #29 (permalink)
Senior Member
 
Outlaw71's Avatar
 
Join Date: Aug 2010
Location: Vancouver, British Columbia
Posts: 2,482
 
Device(s): Droid eXtreme... running the leaked Gingerbread 2.3.3./LG G2x running Bionix2 + Trinity kernel
Carrier: Not Provided

Thanks: 263
Thanked 483 Times in 315 Posts
Default

Quote:
Originally Posted by scary alien View Post
Outlaw,

Attachment 14539 (MD5sum: 260f6aceb40fa78f39e902373a17a8c0)

Enjoy!


Bummer, after I download the apk I long press on it and hit open but then a message come up saying 'no application can be found to open this file'... do I have to go in and change it from an apk to something else? I'm running Apex 1.3.1 if that matters?

I'm dying to run it, I know it's probably hilarious!!! lol
Outlaw71 is offline  
Reply With Quote
Old December 22nd, 2010, 05:37 PM   #30 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,470
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,066
Thanked 15,046 Times in 7,386 Posts
Default

Quote:
Originally Posted by Outlaw71 View Post
Bummer, after I download the apk I long press on it and hit open but then a message come up saying 'no application can be found to open this file'... do I have to go in and change it from an apk to something else? I'm running Apex 1.3.1 if that matters?

I'm dying to run it, I know it's probably hilarious!!! lol
The suspense is killing you, lol!

I've had the same problem before... You could use Opera Mini browser to download it or you could try this to make it work in the stock browser (courtesy of DoubleEagle in this thread Issue installing .apk files):

well i had the same problem downloading 928 blackglass, there not much discussion on it but I stumbled across somewhere here or another forum about downloading astro manager. Then open astro manager, hit the menu hard key,hit more button lower right corner,then hit preferences,scroll down to enable browser download and check it. Back all the way out and then try downloading just like you would from browser, it worked for me! Then after I downloaded 928 I just went back and unchecked it, really don't know why just did.

Good luck!
scary alien is online now  
Reply With Quote
sponsored links
Old December 23rd, 2010, 10:22 AM   #31 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,470
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,066
Thanked 15,046 Times in 7,386 Posts
Default

Quote:
Originally Posted by rfdesq View Post
Using latest update. Couldn't get the charging light to go out after unplugging from a car charger. Didn't have this problem with an AC charger. Strange.
Quote:
Originally Posted by rfdesq View Post
Mine is set for 10 seconds. Only saw the LED failure to extinguish with car charger.
rfdesq,

I saw a similar behavior last night and this morning while testing. When I unplugged from the USB cable, the red charging light indication stayed on (i.e., did not switch-over to the discharging color). Note: I had the phone's screen turned off during this time.

When I tested it this morning, I had my polling-interval set to 60 seconds and the LED stayed red for almost 3 minutes before turning to the discharging color (I have mine set to blue).

From viewing the logcat entries, the app's service was not even active during that 3 minute time span before it finally changed to the discharging color. In other words, Android itself was probably scaling everything (i.e., all app processing) down/back as part of its battery conservation philosophy. This is actually not bad or entirely unexpected--in fact, its probably a testament to how well Android is written and the battery management algorithm employed for the Droid X.

I believe that if you would have waited longer and/or turned the phone back on (i.e., woken things up), the app's service would have been revived and things would have resumed processing as normal.

Cheers and I hope that explains things.

By the way, I'm working on yet another little early Christmas present for everyone re. this app: I believe I have the app working to allow for SMS text notifications to come in while the app is running/active.

Stay tuned.
scary alien is online now  
Reply With Quote
Old December 23rd, 2010, 02:21 PM   #32 (permalink)
Senior Member
 
Join Date: Jun 2010
Location: Home
Gender: Male
Posts: 774
 
Device(s): HTC One (M8)
Carrier: Not Provided

Thanks: 79
Thanked 142 Times in 115 Posts
Default

isn't there a way to get your app to change the led when the power connected/disconnected states change instead of totally relying on polling?
mruno is offline  
Reply With Quote
The Following User Says Thank You to mruno For This Useful Post:
scary alien (December 23rd, 2010)
Old December 23rd, 2010, 02:30 PM   #33 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,470
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,066
Thanked 15,046 Times in 7,386 Posts
Default v1.6 now up: works with SMS text notifications! ;)

Okay guys,

Now I'm really satisfied with the app: version 1.6 now works with SMS text notifications!

So now, you should be able to run the app all of the time and still get notified when a text message comes in.

The timeliness of the seeing the SMS notification is still dependent on the polling interval you are using, but app steps aside when the SMS notification comes in and then resumes when its been acknowledged (by reading the text) or cleared (by the notification pull-down's Clear button).

Please note that the app doesn't actually control the color or blinking status of the SMS text notification, my app just allows it to come in and been seen--so I cannot change its color or behavior (sorry).

I also added the option / ability to make the LEDs blink (or stay on like before) for the charging / discharging / charged state like the functionality I added for the low-battery condition in v1.4.

Anyway, I hope everyone has a safe and happy holiday!

Enjoy the app and its recent changes--I very much appreciate everyone's feedback and support!
scary alien is online now  
Reply With Quote
Old December 23rd, 2010, 02:32 PM   #34 (permalink)
Junior Member
 
91STT's Avatar
 
Join Date: Dec 2009
Location: Jersey City, NJ
Posts: 15
 
Device(s): Using Moto DX and keeping D1 as spare
Carrier: Not Provided

Thanks: 6
Thanked 6 Times in 6 Posts
Default

installed and running
this is a great app
thank scary
91STT is offline  
Reply With Quote
The Following User Says Thank You to 91STT For This Useful Post:
scary alien (December 23rd, 2010)
Old December 23rd, 2010, 02:36 PM   #35 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,470
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,066
Thanked 15,046 Times in 7,386 Posts
Default

Quote:
Originally Posted by mruno View Post
isn't there a way to get your app to change the led when the power connected/disconnected states change instead of totally relying on polling?
Not sure...I just recently saw those broadcast actions when researching the SMS text issue.

I am looking at these events to see if it would "fit" for all of the apps behaviors (for example, monitoring for "full / charged" and/or low-battery condition would not necessarily be covered with these system-generated events).

I was also considering using the "screen off" broadcast action to quiesce my app, but based on my testing earlier this morning it doesn't sound like I need to do that, lol.

Thank you again for the ideas and feedback...I will certainly consider everything.

Cheers!
scary alien is online now  
Reply With Quote
Old December 23rd, 2010, 02:39 PM   #36 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,470
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,066
Thanked 15,046 Times in 7,386 Posts
Default

Quote:
Originally Posted by 91STT View Post
installed and running
this is a great app
thank scary
You are most welcome!

By the way, can you confirm that the app works okay on your D1? I did have one person comment that it worked on the original Droid but I don't know if it was a custom ROM or not.

I only have access to my X and my son's D2 Global...

Thanks!
scary alien is online now  
Reply With Quote
The Following User Says Thank You to scary alien For This Useful Post:
91STT (December 23rd, 2010)
Old December 23rd, 2010, 02:51 PM   #37 (permalink)
Junior Member
 
91STT's Avatar
 
Join Date: Dec 2009
Location: Jersey City, NJ
Posts: 15
 
Device(s): Using Moto DX and keeping D1 as spare
Carrier: Not Provided

Thanks: 6
Thanked 6 Times in 6 Posts
Default

Quote:
Originally Posted by scary alien View Post
You are most welcome!

By the way, can you confirm that the app works okay on your D1? I did have one person comment that it worked on the original Droid but I don't know if it was a custom ROM or not.

I only have access to my X and my son's D2 Global...

Thanks!
I'll install it tonight and test it out
It is rooted with Pete's stock rooted ROM, so for all intents and purposes, I would consider it stock.
I'll report back with my results
91STT is offline  
Reply With Quote
The Following User Says Thank You to 91STT For This Useful Post:
scary alien (December 23rd, 2010)
Old December 23rd, 2010, 06:04 PM   #38 (permalink)
Junior Member
 
Join Date: May 2010
Posts: 52
 
Device(s):
Carrier: Not Provided

Thanks: 5
Thanked 4 Times in 4 Posts
Default

Quote:
Originally Posted by scary alien View Post
rfdesq,

I saw a similar behavior last night and this morning while testing.

I believe that if you would have waited longer and/or turned the phone back on (i.e., woken things up), the app's service would have been revived and things would have resumed processing as normal.

Cheers and I hope that explains things.
Thanks. Just an FYI I did wake up the DX and the LED didn't extinguish. I've installed 1.6 and I'll let you know if I see the bug again.
rfdesq is offline  
Reply With Quote
Old December 23rd, 2010, 06:08 PM   #39 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,470
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,066
Thanked 15,046 Times in 7,386 Posts
Default

Quote:
Originally Posted by rfdesq View Post
Thanks. Just an FYI I did wake up the DX and the LED didn't extinguish. I've installed 1.6 and I'll let you know if I see the bug again.
Thanks...you could always try the logcat debugging thing (it'll really tell / show you what is going on).

Appreciate your help.
scary alien is online now  
Reply With Quote
Old December 23rd, 2010, 09:38 PM   #40 (permalink)
Junior Member
 
91STT's Avatar
 
Join Date: Dec 2009
Location: Jersey City, NJ
Posts: 15
 
Device(s): Using Moto DX and keeping D1 as spare
Carrier: Not Provided

Thanks: 6
Thanked 6 Times in 6 Posts
Default

Tried it out on my D1
Seems to work fine
Due to the limitations of the D1, there is no yellow.
Yellow appears as orange
The dark shades of color illuminate the same as the regular colors
Otherwise, it works great
I'll play with it a little more to see if I notice anything else
91STT is offline  
Reply With Quote
The Following User Says Thank You to 91STT For This Useful Post:
scary alien (December 23rd, 2010)
sponsored links
Old December 23rd, 2010, 09:46 PM   #41 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,470
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,066
Thanked 15,046 Times in 7,386 Posts
Default

Quote:
Originally Posted by 91STT View Post
Tried it out on my D1
Seems to work fine
Due to the limitations of the D1, there is no yellow.
Yellow appears as orange
The dark shades of color illuminate the same as the regular colors
Otherwise, it works great
I'll play with it a little more to see if I notice anything else
Thank you for that!

I also just realized /remembered a little bit ago that my Dad has a D1...he's trying it out now...haven't heard back from him yet...

Cheers!
scary alien is online now  
Reply With Quote
Old December 24th, 2010, 08:44 PM   #42 (permalink)
Junior Member
 
Join Date: Jan 2010
Location: Ferndale, WA
Posts: 69
 
Device(s): Moto Droid X
Carrier: Not Provided

Thanks: 1
Thanked 1 Time in 1 Post
Default

What is the power draw?
Pegleg is offline  
Reply With Quote
Old December 24th, 2010, 09:25 PM   #43 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,470
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,066
Thanked 15,046 Times in 7,386 Posts
Default

Quote:
Originally Posted by Pegleg View Post
What is the power draw?
Excellent question!

As far as I can tell, very little. I run the app 24x7 (for obvious reasons, lol) and when I check on it in System Panel, its not usually on the first screen of apps listed and the CPU usage time is pretty low.

For example, since I last re-launched it (with a polling interval of 60 seconds), System Panel is reporting a Total CPU Time of 5s (presumably 5 seconds) with a Time Since Start of 4h 45m 50s with an Average Consumption of 0.0% (not too shabby ).

I'll try to gather-up some of these stats in a more organized and structured way and published them in the OP.

As far as analyzing and evaluating these stats, you'd really have to have something to compare it to and I'm not exactly sure what (which app) would be meaningful and relevant. I've done enough system performance analysis and capacity planning in jobs at work to know that its easy to represent statistics in anyway that fits your needs (or the boss's needs ), so I'll just try to post the raw data and let everyone form their own opinion.

But suffice to say that I am very comfortable with the app and its usage of system resources (its actually a very lightweight app in terms of what it does CPU-wise and its memory footprint is very small)--I would not run it on my phone or recommend it to anyone if I thought otherwise.

Thank you again for bringing-up a very relevant point.

Cheers!
scary alien is online now  
Reply With Quote
Old December 30th, 2010, 10:09 PM   #44 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,470
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,066
Thanked 15,046 Times in 7,386 Posts
Default v1.7 just uploaded to Market (very useful fixes and improvements)


version 1.7 changes include
:

- added strategy to auto-recover from Android auto-killing the app's service; should make the app much more stable and without unwanted shutdowns

- replaced multiple menu settings w/standard Settings/Preferences menu item

- dynamically determine battery status directory (I did this to see if the app would work on more phones (with mixed success); should allow for users that don't see that the app was written for the Droid X to at least see if it will work on their phone (does not appear to work on a stock HTC Evo 4G, HTC Droid Eris)

- re-instituted screen lock to portrait mode to prevent orientation change from causing FCs

- fixed integer parsing issue causing some reported crashes (probably just experienced by non-Droid X phones)

- added option for 3 minute polling-interval

- added larger range for low-battery percentage threshold

- fixed issue where LED would not blink when charging

FYI, I've also done a little bit of benchmarking (monitoring the app via System Panel) as far as CPU resources go: the app will use less than 20 seconds of CPU per 24 hour period with a 60-second monitoring cycle. Hard to find something similar to make comparisons, but this really isn't a lot of CPU time (compare it to other apps that you've been using).

I've got a few ideas to make the app even more CPU-friendly and more responsive when SMS texts come in...stay tuned!

Anyway, if you have any issues, comments, questions, etc., please contact me at scary.alien@gmail.com.

Cheers and have a great New Year!
scary alien is online now  
Last edited by scary alien; December 30th, 2010 at 10:31 PM.
Reply With Quote
Old December 31st, 2010, 03:03 AM   #45 (permalink)
Senior Member
 
Join Date: Jun 2010
Location: Home
Gender: Male
Posts: 774
 
Device(s): HTC One (M8)
Carrier: Not Provided

Thanks: 79
Thanked 142 Times in 115 Posts
Default

Nice update! The options are a lot cleaner now. Is there an on/off for discharging?
mruno is offline  
Reply With Quote
Old December 31st, 2010, 09:27 AM   #46 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,470
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,066
Thanked 15,046 Times in 7,386 Posts
Default

Quote:
Originally Posted by mruno View Post
Nice update! The options are a lot cleaner now. Is there an on/off for discharging?
Thank you very much, I appreciate it! Yeah, the options were not easy to figure-out and implement (I understand how to now, lol...).

You can set the LED "color" for the discharging state to "off", if that's what you mean...(and I suppose I actually should move the "off" "color" to the action menu...still thinking about that).

I've also been comptemplating making a "snooze" button or toggle to turn off the LED for those that don't want the LED on at certain times. I also plan on adding features to allow for a simple schedule for the LED actions so that you could set a time range for when you want the LED actions to take place or not.

Thanks again for the feedback and let me know what you think or if you have any other ideas or questions.

Cheers!
scary alien is online now  
Reply With Quote
Old January 16th, 2011, 06:42 PM   #47 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,470
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,066
Thanked 15,046 Times in 7,386 Posts
Default v1.8 just published to the Market

All,

I've just published version 1.8 to the Market... This version has some nice new features and improvements. Change log for 1.8 includes:

- supported new experimental features:

* ability to keep LED on while the screen is on (root only)

* support white LED color
[only works in conjunction with the root-only "LED is Always ON" experimental feature]

- updated w/better strategy for dynamically locating battery state and LED notification files to TRY to support non-Motorola Droid phones

- added 'Suspend' feature to screen to turn off LED and pause battery status monitoring until resumed (un-checked)

- added strategy to make app more timely/responsive to SMS text notifications and preference/setting changes

- fixed set-on-boot and charging-color preference mis-match and other minor preference/settings issues (this was causing a few folks issues...if you still have an issue, try an un-install and fresh re-install--this will clear-out the saved preferences)

- supported amber LED color in addition to the original red/green/blue LED colors
(provided your LED firmware supports it)

Anyway, this version should be much more stable and responsive than the prior versions (although v1.7 was pretty solid ).

Enjoy, and please visit https://sites.google.com/site/scaryalienware/battmonx for full details and screen shots. Shoot me an email at scary.alien@gmail.com for any issues, comments, questions, etc.

Cheers!
scary alien is online now  
Reply With Quote
The Following 2 Users Say Thank You to scary alien For This Useful Post:
fonefreak (January 16th, 2011), mruno (January 16th, 2011)
Old January 16th, 2011, 09:31 PM   #48 (permalink)
Member
 
fonefreak's Avatar
 
Join Date: Oct 2010
Location: North of the ecliptic
Posts: 179
 
Device(s): Had rooted GB .596 Deodexed then rooted Froyo now rooted 602 via psouza4
Carrier: Not Provided

Thanks: 20
Thanked 25 Times in 18 Posts
Default

Just downed your latest v1.8. All functions work as you have stated above. My DX is rooted and running the DarkSlide v4.2 ROM for the record. Also, the experimental feature works fine.

I'm going to sbf my DX tomorrow back to stock 340 then re-root and install the Liberty ROM and try out your app. Thank you, scary!
fonefreak is offline  
Reply With Quote
The Following User Says Thank You to fonefreak For This Useful Post:
scary alien (January 16th, 2011)
Old January 16th, 2011, 09:39 PM   #49 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,470
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,066
Thanked 15,046 Times in 7,386 Posts
Default

Quote:
Originally Posted by fonefreak View Post
Just downed your latest v1.8. All functions work as you have stated above. My DX is rooted and running the DarkSlide v4.2 ROM for the record. Also, the experimental feature works fine.

I'm going to sbf my DX tomorrow back to stock 340 then re-root and install the Liberty ROM and try out your app. Thank you, scary!
Thank you very much for your feedback and usage! I myself just love having the LED on (both when the screen is off and when its on) just because it didn't come that way from VZW or Moto (I use the blue, light blue, or violet for my discharging color--looks cool when its off).

Cheers!
scary alien is online now  
Reply With Quote
Old January 20th, 2011, 10:25 PM   #50 (permalink)
Senior Member
 
Join Date: Jun 2010
Location: Home
Gender: Male
Posts: 774
 
Device(s): HTC One (M8)
Carrier: Not Provided

Thanks: 79
Thanked 142 Times in 115 Posts
Default

Seems the latest version has a bug. I have the low battery set to blink orange, but it is yellow green and is staying lit. I have the experimental features on and the screen being lit leaves the led on.
mruno is offline  
Reply With Quote
Reply

Motorola DROID X
Current Rating:
Rate this Phone:

 Motorola DROID X is an Android powered smartphone with a 1GHz processor, huge 4.3-inch display with 480x854 pixels resolution, 8-megapixel camera with 720p motion video capture and many other features. It's the newest addition to Motorola... Read More

Tags
battery monitor, battery state, battery status, battmonx, droid x, led indicator, led light


Go Back   Android Forums > Android Phones > Motorola Droid X
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:09 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.