pub async fn test_thermal_reboot(
    env: TestEnv,
    sensor_path: &str,
    temperature: f32
)
Expand description

Tests that Power Manager triggers a thermal reboot if the temperature sensor at the given path reaches the provided temperature. The provided TestEnv is consumed because Power Manager triggers a reboot.