I am trying to get the temperature of device . I have used Environment Sensor (Ambient Temperature) but this is not working on most of the devices. I also used commands like " sys/class/thermal/thermal_zone0/temp" but no luck.
Please let me know if anyone able to access the temperature on the latest devices like (Samsung S10), Vivi 1938