Ok, my question about the laptop-mode-tools was because of this limitation, "that the hdparm-script doesn't make any settings if the laptop-mode-tools are activated and therefore have the responsibility for the settings. Unfortunately, the hdparm script does not check if the Laptop Mode Tools actually make the APM level settings. By default, the laptop mode tools are only active in battery operation and therefore only take over the energy settings there. As a result, the script is never executed in mains operation."
Source
This here is my rc.local
Code: Select all
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
hdparm -B 254 /dev/sda
rfkill block bluetooth
exit 0
and my computer is always in mains operation. After waking up from suspend, this still works.
Check your procedure again.