问题
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?
回答1:
voltage- int, current battery voltage in millivolts
temperature - int, current battery temperature in tenths of a degree Centigrade
From here.
来源:https://stackoverflow.com/questions/4860415/what-are-the-units-for-battery-temperature-and-voltage-when-intent-battery-actio