[rc/tlp] work around bluetooth getting enabled after hibernate
authorAmin Bandali <bandali@gnu.org>
Thu, 31 Jan 2019 17:15:40 +0000 (12:15 -0500)
committerAmin Bandali <bandali@gnu.org>
Thu, 31 Jan 2019 17:15:40 +0000 (12:15 -0500)
of course, it should be manually disabled the first time

rc.org

diff --git a/rc.org b/rc.org
index 1a86339..1dfdf08 100644 (file)
--- a/rc.org
+++ b/rc.org
@@ -3340,12 +3340,11 @@ USB_BLACKLIST_WWAN=1
 # Hint: the parameters DEVICES_TO_DISABLE/ENABLE_ON_STARTUP/SHUTDOWN below
 #   are ignored when this is enabled!
 #RESTORE_DEVICE_STATE_ON_STARTUP=0
-RESTORE_DEVICE_STATE_ON_STARTUP=0
+RESTORE_DEVICE_STATE_ON_STARTUP=1
 
 # Radio devices to disable on startup: bluetooth, wifi, wwan.
 # Separate multiple devices with spaces.
 #DEVICES_TO_DISABLE_ON_STARTUP="bluetooth wifi wwan"
-DEVICES_TO_DISABLE_ON_STARTUP="bluetooth"
 
 # Radio devices to enable on startup: bluetooth, wifi, wwan.
 # Separate multiple devices with spaces.
@@ -3364,6 +3363,7 @@ DEVICES_TO_DISABLE_ON_STARTUP="bluetooth"
 
 # Radio devices to disable on battery: bluetooth, wifi, wwan.
 #DEVICES_TO_DISABLE_ON_BAT="bluetooth wifi wwan"
+DEVICES_TO_DISABLE_ON_BAT="bluetooth"
 
 # Radio devices to disable on battery when not in use (not connected):
 #   bluetooth, wifi, wwan.