@Rogo === a lot of devices are without this sensor which is a physical one; so you have to ask wether it s available; if not change your phone add it this sensor…Another solution (which is a workaround!) coul be to get the temp from your geoloc through the web.
fullScreen();
sensor = new KetaiSensor(this);
sensor.start();
println("temp===="+sensor.isTemperatureAvailable());
@Rogo === that means that your phone has no (physical) sensor for ambient temperature, as it is possible for only few devices; but as i have written if you want only temperature for battery you can probably get it with batteryManager. Of course Ketai lib is absolutely useless for that. If necessary i can put code for that.