Open siddhpant opened 2 years ago
That's a good request, there should be a backup copy of your old custom TLP settings, to leave the system as it was when application is turned off. I'll try to implement it soon.
I also had set some settings in TLP which SBAT maybe seems to override, like disabling radio devices like BT on startup.
There is a setting on each mode that does this, so if the switch is off, when you click the accept button it will override that parameter with the selected setting. When you install the app default settings are shown, maybe it should use your custom settings if exist.
There is a setting on each mode that does this, so if the switch is off, when you click the accept button it will override that parameter with the selected setting. When you install the app default settings are shown, maybe it should use your custom settings if exist.
I only see the General tab on 4.0.4. I installed the latest from repo*, and now I can see the options.
I guess it's due to the below keyerror which was fixed:
Traceback (most recent call last):
File "/usr/share/slimbookbattery/src/slimbookbatterypreferences.py", line 1688, in __init__
self.set_ui()
File "/usr/share/slimbookbattery/src/slimbookbatterypreferences.py", line 1871, in set_ui
SettingsGrid(self, data.get('filename'))
File "/usr/share/slimbookbattery/src/slimbookbatterypreferences.py", line 1172, in __init__
super(SettingsGrid, self).__init__(parent, *args, **kwargs)
File "/usr/share/slimbookbattery/src/slimbookbatterypreferences.py", line 108, in __init__
self.complete_values()
File "/usr/share/slimbookbattery/src/slimbookbatterypreferences.py", line 1344, in complete_values
button = self.content['governor']
KeyError: 'governor'
* There are some problems with deploy script, I will try to send a fix.
Also, is there any way to set default profile (or settings to apply automatically when on AC)?
Do you mean this default tlp settings which has all params commented? If not, there is a button that says "restore default values" which sets our default settings for each mode. You can see them at /usr/share/slimbookbattery/default/, the three files contain default setting for each mode, sorry for not having translated the names, ahorrodeenergia = low, equilibrado = balanced, and maximorendimiento = high.
Do you mean this default tlp settings which has all params commented? If not, there is a button that says "restore default values" which sets our default settings for each mode. You can see them at /usr/share/slimbookbattery/default/, the three files contain default setting for each mode.
I mean when I connect AC, can SBAT automatically switch settings / mode (like change to high performance), like how TLP automatically changes settings and governor when I connect charger?
sorry for not having translated the names, ahorrodeenergia = low, equilibrado = balanced, and maximorendimiento = high.
np, and thanks!
The only settings applied on AC and BAT are the ones in the second column, but we listen to any requests about adding 'ac only' parameters, there is always room for improvement.
I mean when I connect AC, can SBAT automatically switch settings / mode (like change to high performance), like how TLP automatically changes settings and governor when I connect charger?
Now I understand.
That's because there are params that only act when batt is connected, for example, the governor settings.
In this case, we only set the ones which act when battery is used, so, once you connect the ac, governor will switch to performance and stop using the battery settings (1st column).
You can check it with sudo tlp-stat -p
Edit: Moved to #90.
Is your feature request related to a problem? Please describe. Turning off Slimbook Battery (SBAT henceforth) doesn't restore my previous TLP settings and neither does it turn it on. I expected SBAT to pass control to TLP solely when I turn SBAT off, rather than stop power management in the laptop altogether.
Describe the solution you'd like Turn on TLP and restore old config when I turn off SBAT.
Describe alternatives you've considered Manually restoring from backup and running
sudo tlp start
.Additional context I also had set some settings in TLP which SBAT maybe seems to override, like disabling radio devices like BT on startup. I think it should not do that, there is more power saving in them disabled on start, and since it is set by user, high performance should not enable it either (it doesn't depend on it anyways).