New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFE: add a 'lower power adapter' mode. #494
Comments
Hi, thanks for your suggestion. I have no plans to introduce a third power profile besides AC an BAT. It would require a third line for the majority of settings and in addition, would clutter up the documentation and require really extensive code changes. By contrast I estimate the number of potential users to be very small, but the impact would affect the whole user base. Apart from that I have my doubts if an effective solution is possible solely based on kernel settings without supporting changes in Lenovo's firmware. If you look at how Lenovo has (finally) messed up the Intel DPTF topic, there's little hope for that. |
no problem, I'll just hack up something on my side, thanks for tlp |
If anyone finds this bug and needs to do the same thing than me, here's what I did
hope this helps someone
|
A simpler and (imho) more robust approach (no config change necessary) would be to use manual mode:
This will persist until the next reboot or
The charge thresholds may be changed with
|
@linrunner I thought about this, but there are 2 issues:
So basically the 2 config file and symlink trick is the only thing I could get to work. |
Which TLP version do you use? Manual mode will survive power unplug/plug events and even a suspend/resume cycle since TLP 1.2. The same applies to the thresholds unless you configured |
@linrunner I have 1.3.1-2, but I don't think I was clear, let me explain
the only way around this is to have another power mode that does not spin up everything and take so much power. This is why I made 2 config files with 2 different settings for AC. |
I think you'd best try what I suggested, step by step:
|
marcmerlin commentedMay 28, 2020
Currently, there is a battery mode and AC mode.
On bigger laptops like thinkpad P73, the power adapter is as big as 230W (!)
(this is without counting broken design where the laptop actively tries to reject any power supply smaller than 170W even if it only needs 40W at the moment, details and hardware workaround here: http://marc.merlins.org/perso/electronics/post_2020-05-04_Hacking-Power-Supplies-and-Battery-Pack-To-Get-Around-ThinkPad-P73-Broken-Power-Supply-Design.html )
There is a need where you get external power, but you want to limit use over the charging plug:
So, it would be great to have a power mode for 'limited AC draw' to handle any of the cases above. It would be hard to auto detect via udev, but you could just run the command from the command line after plugging in the power supply.
The text was updated successfully, but these errors were encountered: