Skip to content

power_key: detect kernel version until 5.10

supports_powersave_gov() is true for all kernel newer than 5.6 but kernel_version() will return None for new kernels.

Add version detection until 5.10.

Signed-off-by: Martin Kepplinger martin.kepplinger@puri.sm

Merge request reports