Re: [android-developers] battery status check

2011-06-28 Thread Mystic Prowler
Juts asking, why is that when Android phones are charging or discharging, it
shows in 10% intervals and below 20% it goes down to 5% intervals. Can it be
changed to 1% intervals for more accuracy?

On Tue, Jun 28, 2011 at 6:51 AM, kaushik p kaushiks...@gmail.com wrote:

 Hi all ,

 Can we write a program to check if the phone is being charged or not ?
 For example , I keep my phone charging in some room at my house and i need
 to check if the phone is getting charged with out going near it .To get that
 information can i send a message to this cell phone from other number are
 you charging so that , the phone being charged can reply me something like
 charging , 70% charged  or not charging , 70% charge remaining 

 --
 ThanksRegards
 Kaushik Pendurthi

 http://kaushikpendurthi.blogspot.com/

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] battery status check

2011-06-28 Thread Mark Murphy
See ACTION_BATTERY_CHANGED.

On Tue, Jun 28, 2011 at 6:51 AM, kaushik p kaushiks...@gmail.com wrote:
 Hi all ,
 Can we write a program to check if the phone is being charged or not ?
 For example , I keep my phone charging in some room at my house and i need
 to check if the phone is getting charged with out going near it .To get that
 information can i send a message to this cell phone from other number are
 you charging so that , the phone being charged can reply me something like
 charging , 70% charged  or not charging , 70% charge remaining 

 --
 ThanksRegards
 Kaushik Pendurthi
 http://kaushikpendurthi.blogspot.com/

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] battery status check

2011-06-28 Thread Mark Murphy
On Tue, Jun 28, 2011 at 7:00 AM, Mystic Prowler coolmar...@gmail.com wrote:
 Juts asking, why is that when Android phones are charging or discharging, it
 shows in 10% intervals and below 20% it goes down to 5% intervals. Can it be
 changed to 1% intervals for more accuracy?

That is up to the device manufacturer. Some devices report 1%
intervals all along. Others -- notably some Motorola devices -- behave
has you describe.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] battery status check

2011-06-28 Thread Mystic Prowler
Well, i have a Motorola Droid X running 2.3.3, and it does that no matter
what OS it has. Is there a way to change it a hack?

On Tue, Jun 28, 2011 at 7:13 AM, Mark Murphy mmur...@commonsware.comwrote:

 On Tue, Jun 28, 2011 at 7:00 AM, Mystic Prowler coolmar...@gmail.com
 wrote:
  Juts asking, why is that when Android phones are charging or discharging,
 it
  shows in 10% intervals and below 20% it goes down to 5% intervals. Can it
 be
  changed to 1% intervals for more accuracy?

 That is up to the device manufacturer. Some devices report 1%
 intervals all along. Others -- notably some Motorola devices -- behave
 has you describe.

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 Warescription: Three Android Books, Plus Updates, One Low Price!

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] battery status check

2011-06-28 Thread Mark Murphy
On Tue, Jun 28, 2011 at 9:32 AM, Mystic Prowler coolmar...@gmail.com wrote:
 Well, i have a Motorola Droid X running 2.3.3, and it does that no matter
 what OS it has.

I feel reasonably confident that it only has Android. It's possible
somebody ported Meego to run on it, but I doubt it.

 Is there a way to change it a hack?

I have no idea, and that has nothing to do with this list.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] battery status check

2011-06-28 Thread Dianne Hackborn
This has nothing to do with Android, it is Motorola's driver and/or
hardware.

I argued with them about this whole 10% increment thing on the Droid.  Sad
to see they are still doing it.

On Tue, Jun 28, 2011 at 6:32 AM, Mystic Prowler coolmar...@gmail.comwrote:

 Well, i have a Motorola Droid X running 2.3.3, and it does that no matter
 what OS it has. Is there a way to change it a hack?


 On Tue, Jun 28, 2011 at 7:13 AM, Mark Murphy mmur...@commonsware.comwrote:

 On Tue, Jun 28, 2011 at 7:00 AM, Mystic Prowler coolmar...@gmail.com
 wrote:
  Juts asking, why is that when Android phones are charging or
 discharging, it
  shows in 10% intervals and below 20% it goes down to 5% intervals. Can
 it be
  changed to 1% intervals for more accuracy?

 That is up to the device manufacturer. Some devices report 1%
 intervals all along. Others -- notably some Motorola devices -- behave
 has you describe.

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 Warescription: Three Android Books, Plus Updates, One Low Price!

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en