Instantly share code, notes, and snippets.
Add the following to /etc/hdparm.conf:
/etc/hdparm.conf
apm_battery = 128