estimate_sustainable_power(9)
β¨ estimate_sustainable_power(9) β¨
okay so welcome to the Kernel API Manual, bestie β todayβs main character is estimate_sustainable_power(9), and it is literally all about estimating the sustainable power of a thermal zone. π
πΈ NAME πΈ
estimate_sustainable_power β estimate the sustainable power of a thermal zone. β¨
β¨ SYNOPSIS β¨
the vibe check starts with this signature, exactly:
u32 estimate_sustainable_power (struct thermal_zone_device *tz );
π ARGUMENTS π
tzβ the thermal zone we are operating in. thatβs the one, no cap. π«Ά
π DESCRIPTION π
okay so hereβs the tea: for thermal zones that donβt provide a sustainable_power in their thermal_zone_params, this function estimates one. it calculates it using the minimum power of all the cooling devices, because that gives a valid value that can give some degree of functionality. lowkey iconic that it can still do something useful, fr fr. ππ
for optimal performance of this governor, though? provide a sustainable_power in the thermal zoneβs thermal_zone_params. thatβs the glow-up. periodt. π
π₯ SEE ALSO π₯
- Kernel file
./drivers/thermal/gov_power_allocator.c mul_frac(9)div_frac(9)struct power_actor(9)struct power_allocator_params(9)estimate_pid_constants(9)get_sustainable_power(9)pid_controller(9)power_actor_set_power(9)divvy_up_power(9)get_governor_trips(9)check_power_actors(9)power_allocator_bind(9)
cute sign-off time π«Ά this page comes from the ./drivers/thermal source/version and is dated October 2026 β estimate_sustainable_power(9) out. ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms