Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the units for battery temperature and voltage when Intent.BATTERY_ACTION_CHANGED on android device?

I retrieved battery temperature and voltage information using the intent Intent.ACTION_BATTERY_CHANGED and the values I got are pretty weird. I could not get any clue: temperature=270 and voltage=3782!

What are these values? Do they have any units like celsius, fahrenheit or milli or micro volt?

like image 409
Ashok Jeev Avatar asked Feb 01 '11 08:02

Ashok Jeev


1 Answers

  • voltage- int, current battery voltage in millivolts

  • temperature - int, current battery temperature in tenths of a degree Centigrade

From here.

like image 132
Vladimir Ivanov Avatar answered Nov 07 '22 15:11

Vladimir Ivanov