You can use something like this:
double temperature = intent.getIntExtra("temperature", -1) / 10;
double voltage = intent.getIntExtra("voltage", -1) / 1000;
As per this discussion, unit of measurement are "Tenth of centigrade" and "Millivolts" respectively for temperature and voltage in BatteryManager