• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Is this even possible?

Steven58

Former Heavyweight Champion of AF-Early Bird Club
Moderator
Feb 19, 2010
34,790
28,753
USA
One thing I miss on my DX from other phones is a battery charging light. Perhaps it's already on the market, but I was wondering if you young geeky android app writers could write one, if it's not? I pay for it. :) I'd bet others would too? Just a thought.

You young guys have no babies to feed, diapers to change, mouths to feed, or college kids to pay for, so take care of this old guy. :) God will reward you for it. ;)
 
Tasker is one of the most outstanding apps I have ever seen for any mobile OS.

It's certainly not bulky. If you set up lots of events that require GPS positioning, you'll drain the battery as the phone will use GPS a lot - but that's not Tasker's fault.

I don't use any GPS events and my battery life is superb despite having several tasker triggers set.
 
Upvote 0
Steven,

No promises, but I'm going to play with this tonight and see what I can do...very intriguing app...I'd like to have this too (the method seems simple enough, but will need to figure out a way to poll and run the app without overly consuming battery).

This functionality should already be there though...VZW/Motorola dropped the ball on leaving this out, IMO.

Cheers!
 
Upvote 0
Steven,

No promises, but I'm going to play with this tonight and see what I can do...very intriguing app...I'd like to have this too (the method seems simple enough, but will need to figure out a way to poll and run the app without overly consuming battery).

This functionality should already be there though...VZW/Motorola dropped the ball on leaving this out, IMO.

Cheers!


Yaaaaaaaaaaaaaaaay!!! I was hoping you'd say that!!!! :D :D :D :D
 
Upvote 0
Steven,

Worked on this on and off all weekend (between Thanksgiving leftovers, of course ;))...

It was a bit tricky, but I think I've got it (by George :D).

Gotta polish a few things, but I hope to publish something to the Market (free, of course) still yet today.

The first version will be pretty basic:

1) when the app/service is launched, you'll press the "Start Monitoring" button

2) the app will monitor the battery state to see what its charging state is

3) if charging, the LED will be turned RED

4) if fully-charged, the LED will be GREEN

5) if discharging, the LED will be turned OFF (although I tested using BLUE, which was really cool, IMHO)

6) when done monitoring with the app, press the "Stop Monitoring and Exit" button

Please note that the LED indicator only lights-up when the screen is off (I think everyone already knows this--this really made is wonky to test, btw).

Here's my punch-list for updates to this:

1) set your own polling interval (currently defaults to 10 seconds)

2) display the percent charged in the app (simple to do, but I didn't want to add the extra I/O in the first version or unless the user selected)

3) set your own LED state/color (or OFF) assignments

Also note, there's two things that make this Droid X-specific:

1) Its probably not needed for other phones since we know the X doesn't show the battery status via the LED indicator, but other phones do

2) The battery status file that I monitor is in a specific location that is not necessarily the same for other phones

More later... Cheers!
 
Upvote 0
Steven,

Worked on this on and off all weekend (between Thanksgiving leftovers, of course ;))...

It was a bit tricky, but I think I've got it (by George :D).

Gotta polish a few things, but I hope to publish something to the Market (free, of course) still yet today.

The first version will be pretty basic:

1) when the app/service is launched, you'll press the "Start Monitoring" button

2) the app will monitor the battery state to see what its charging state is

3) if charging, the LED will be turned RED

4) if fully-charged, the LED will be GREEN

5) if discharging, the LED will be turned OFF (although I tested using BLUE, which was really cool, IMHO)

6) when done monitoring with the app, press the "Stop Monitoring and Exit" button

Please note that the LED indicator only lights-up when the screen is off (I think everyone already knows this--this really made is wonky to test, btw).

Here's my punch-list for updates to this:

1) set your own polling interval (currently defaults to 10 seconds)

2) display the percent charged in the app (simple to do, but I didn't want to add the extra I/O in the first version or unless the user selected)

3) set your own LED state/color (or OFF) assignments

Also note, there's two things that make this Droid X-specific:

1) Its probably not needed for other phones since we know the X doesn't show the battery status via the LED indicator, but other phones do

2) The battery status file that I monitor is in a specific location that is not necessarily the same for other phones

More later... Cheers!

I'm honored, scary. I'll even buy you a chocolate milk! :)
 
  • Like
Reactions: scary alien
Upvote 0
Okay, let's give this a try...I've published the app in the Market (free), just search for "BattMonX".

Check it out and let me know what you think. I've tested it as much as I could, but I'm sure you eagle-eyes out there will find something.

Please note, the app does not require root, but will check to make sure that its running on a Droid X (it'll just give you a warning and allow you to continue if your not). My Droid X that I tested it on is rooted but not themed or overclocked.

This initial (beta, really) version has a polling interval of 10 seconds. I let it run on my phone last night for 10 hours with the LED lit (on purpose) and the app's service running. Battery life and CPU time reported by system panel did not seem at all out of line with how I would it would normally be the next morning.

Also, notifications that come in while the app is running will be displayed / honored after the app has been exited (the are queued-up, apparently). So, just run the app when you've got it charging.

Assuming that VZW/Motorola doesn't fix the issue that this apps tries address in the next OTA update, then I'll continue to work on it and make a few upgrades to it.

I'll create an app thread soon (when I get a little time ;)). Cheers and enjoy!
 
Upvote 0
Just tried using tasker to set up a green notification light while charging. Seriously you should give tasker a try. its amazing. :) I also have it set to turn wifi on while charging, among many other tasks.

This ^^^^^ is too true.

I played with it for 2 days solid, love what it does and how much fun it can make using my phone. There's a big thread with examples of what we have our phones doing.

I can send my phone a text with a code word, have it turn on and test GPS then send me a reply with my GPS coordinates after locking the phone and putting a password on it.

I have my own icon on a screen (made with tasker) that shows my battery usage that updates every 30 minutes.

Some weather widgets also show battery power.
 
Upvote 0
This ^^^^^ is too true.

I played with it for 2 days solid, love what it does and how much fun it can make using my phone. There's a big thread with examples of what we have our phones doing.

I can send my phone a text with a code word, have it turn on and test GPS then send me a reply with my GPS coordinates after locking the phone and putting a password on it.

I have my own icon on a screen (made with tasker) that shows my battery usage that updates every 30 minutes.

Tasker does sound amazing. Its on my list of things to check out when I get more time. Sounds like a Swiss Army Knife for your phone.

Thanks and cheers!
 
Upvote 0
Works GREAT!!! Where do I donate the chocolate milk or did you want a banana split? :)

Also, thank you for the acknowledgement. That was very kind of you.

Steven

Edit: I tried that site listed in the app and it wasn't up yet, so I went to the root directory hoping for a place to donate. No such luck. You don't make this easy. ;)

Thanks again!
 
Upvote 0
Works GREAT!!! Where do I donate the chocolate milk or did you want a banana split? :)

Also, thank you for the acknowledgement. That was very kind of you.

Steven

Edit: I tried that site listed in the app and it wasn't up yet, so I went to the root directory hoping for a place to donate. No such luck. You don't make this easy. ;)

Thanks again!

Lol, you are very welcome! Nah, there's no donate button... ;) ...I haven't had time to build the page for the app on my Google site. Hopefully tonight or tomorrow (the documentation for an app sometimes takes longer than doing the app itself, lol).

Again, it was fun to do...learned a lot along the way.

Cheers!
 
Upvote 0
Lol, you are very welcome! Nah, there's no donate button... ;) ...I haven't had time to build the page for the app on my Google site. Hopefully tonight or tomorrow (the documentation for an app sometimes takes longer than doing the app itself, lol). Again, it was fun to do...learned a lot along the way. Cheers!
You're not getting away with that again bro. I'll get you back!Issues so far: doesn't display correctly in horizontal mode.Doesn't seen to shut off when selecting stop monitoring and exit.Doesn't make me my morning coffee. ;)
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones