Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want my desktop to check state of the phone and warn me at appropriate time (calculated on my presence at the desktop, phone charge, time of day and other criteria).

Is there a way to get my phone charge state remotely? What software/services should I use?

As programmer, I'd prefer a solution that would allow to script criteria and logic myself. All I need are means to access charge state remotely say through Google API's or web-published information.

I'm asking this question here as I believe there should be a ton of monitoring Android applications publishing state by various means.

share|improve this question
up vote 1 down vote accepted

There's an app here that allows you to do that according to the description (along with many more things):

If you want to code your own application then you'll want to check out this Intent and the two Intents below it (ACTION_BATTERY_LOW, ACTION_BATTERY_OKAY):

And this class which has what the Intent contains:

You could have your application pick up the ACTION_BATTERY_LOW Intent and then send a message to you warning you about the status.

I'm assuming you've done some Android development before, if not then get the basics down before coming back and trying to code your battery app.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.