Means to detect SB1 charging

I would like to know if there's any notification API to subscribe to when the SB1 is in the charging cradle.

Pietro Francesc...
Hi Edwin,You can use the

Hi Edwin,

You can use the Battery API and get a periodic event with information on the battery (e.g. if is connected to AC):

http://docs.rhomobile.com/en/2.2.0/rhoelements/battery#events

~Pietro

Vote: 
Vote up!
Vote down!

Points: 1

You voted ‘up’


Log in to post comments