estimate_sustainable_power(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 πŸ”₯


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