CrOS currently uses v1.59 of laptop-mode-tools, which is more then 5 years old. During the course of the investigation of https://crosbug.com/p/58864 groeck@ and mka@ did some experiments with the current release v1.70, which involved porting of the v1.59 patches to v1.70.
The original issue has been resolved and AFAIK there are no pressing issues caused by laptop-mode-tools, but given that out LMT version is so old it would be a shame to discard the work on v1.70. Even if we don't want to move forward right now I think it would be a good idea to submit at least a WIP port to v1.70 which then can be picked up later.
CrOS currently uses v1.59 of laptop-mode-tools, which is more than 5 years old. During the course of the investigation of https://crosbug.com/p/58864 groeck@ and mka@ did some experiments with the current release v1.70, which involved porting the v1.59 patches to v1.70.
The original issue has been resolved and AFAIK there are no pressing issues caused by laptop-mode-tools, but given that our LMT version is so old it would be a shame to discard the work already done on v1.70. Even if we don't want to move forward right now I think it would be a good idea to submit at least a WIP port to v1.70 which can be picked up later.
There has been discussion about extending power_managerd to cover the functionality of laptop-mode-tools ( Issue 666459 & Issue 214886 ). This is the current/new plan, which makes an update to 1.70 obsolete.
The work done on 1.70 is available in a git sandbox:
https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+log/sandbox/mka/laptop-mode-tools_v1.70
git fetch cros refs/sandbox/mka/laptop-mode-tools_v1.70 && git checkout FETCH_HEAD
The port should be almost complete, I tested USB autosuspend, other runtime PM, WiFi power save mode and cpufreq settings.
Comment 1 by mka@chromium.org
, Nov 12 2016