Add devices to disable for power saver, decoupleing balanced and powersaver#892
Add devices to disable for power saver, decoupleing balanced and powersaver#892dusklinux wants to merge 3 commits into
Conversation
|
Thanks in advance. I'm busy right now, but I'll check back when I have time. |
|
No problem. The code base was well written, and required only surgical edits because the groundwork was already laid out. I only added ~38 liines using the same logic you already had in place. |
This comment was marked as off-topic.
This comment was marked as off-topic.
|
This approach isn't complete yet, the topic is more complicated. When switching from balanced to power-saver profile, the radios listed in |
|
That's interesting, I'll re-test to make sure it works, and push the commit where it needs fixing. |
|
We'll need a In addition, the fallback Finally, I'd like to consolidate the sections in tlp.conf; otherwise, it will become overwhelming. I'll do that myself once functionality is finished. |
…S_TO_ENABLE_ON_BAT/SAV
|
I have updated the pr to address your feedback: Added DEVICES_TO_ENABLE_ON_BAT and DEVICES_TO_ENABLE_ON_SAV to give users explicit control over enabling specific devices when transitioning back to the balanced profile. Removed the fallback behavior between _BAT and _SAV configuration options, making the profiles completely independent. Updated tlp.conf.in with documentation for the new variables and removed fallback descriptions. I have tested transitions between all profiles (performance, balanced, power-saver) on my system, and the devices now enable and disable correctly. I made sure to have it match the naming scheme that you already had in place. I spent the last two hours figuring it out and fixing it. I've stress tested it every whichway, rest assured it works well now. |
|
Great. I'm still working on something else right now. I'll take a look at it after that. |
|
Alright, I wont hold my breath, |
|
@dusklinux will tlp setup be re added to dusky after this is merged? |
|
Yup. |
No description provided.