Linux – Is the power management on different linux distributions the same

distributionslinuxpower-management

I was wondering if the power management is the same across all linux distros? If no, what are the specific differences? I.e. can changing the distro possibly solve power management issues?

Background: I have a Lenovo X240 laptop (I thought this is a safe choice :)) and have several issue with the power management on linux Mint, which I cannot solve despite extensive research on stackoverflow sites and elsewhere. The issue are: The laptop lid does only sometimes lead to suspend to ram; sometimes the laptop freezes after wakeup from hibernation; the battery drain is really fast in suspend to ram..
Even if I describe quite specific problems in a specific configuration I believe this question has a broader scope.

There is another question that asks for battery life across distros which is a different question although being close.

Best Answer

Power management is a matter of what software you have, not what distribution installed it, so on some level the answer is “yes”. It's always possible to re-create the same configuration on one distribution as on another distribution.

However, power management depends on the precise version of the software involved, especially the kernel. At any point in time, different distributions are likely to have different kernel versions, and to have applied different improvements and bug fixes. So in practice, especially if your hardware has only recently become supported, you might find that one particular version of one distribution works better than another version of the same distribution, or a version of another distribution.

It's also possible that different distributions have configured things in different ways. Sometimes hardware requires proprietary blobs to function optimally, and not all distributions install these by default or make it easy to install them explicitly. Distributions might also choose different defaults when there's a choice between, say, a solution that works for everyone but doesn't give optimal performance, and a solution that's optimal for 99% of users but crashes in 1% of the cases.

In many cases, for hardware issues, if you find configuration tips (e.g. some kernel options to apply) about one distribution, they're often applicable to other distributions. In particular, there's often a lot of information on the Arch Wiki that's useful even for people who run other distributions. However, if your problem is that your drivers are too old, you may need to obtain more recent drivers.

Related Question