is this only for Asus?
nyck33 opened this issue · 5 comments
Hi Leveson,
I just bought an Ideapad to replace my T420 Thinkpad because I accidentally cracked the screen. I saw your answer on askubuntu I think and clicked to get here.
Does this work for Lenovo Ideapads?
I am not certain. Perhaps you could give it a try?
My gut feeling is that how the underlying hooks are exposed may well be vendor specific which would mean in its current state it only works for ASUS laptops. But it is possible that this is not the case or if so that the application could be extended to provide the same functionality for Levono laptops with some minor modifications.
Well, by my understanding, these sorts of applications work by manipulating kernel settings which generally do not persist between restarts. Instead, these settings are applied each time the system boots by some user space tool.
I do not know how this is done in Windows but in Linux this achieved through manipulating virtual files in the /sys/
directory and to achieve persistence one would set some daemon like sytemd to listen for events such when the system boots and then call on the application to reapply the setting.
My guess is that what is happening in your case is not that Windows is setting the threshold universally so to speak but when you boot into Windows, the Lenovo utility kicks in and when you boot into Ubuntu your old TLP settings do the same which would explain the discrepancy between the charging threshold between the different operating systems.
Going to close the issue. You are welcome to send me an email if you want to discuss this or anything further.