After digging around on the Internet, I have formulated a solution. Thanks to the Linux Mint forum people as well.
The key was to keep the APM_Level at 254 as this will stop the hard drive from spinning down frequently.
Now I know one can do this:
Code:
sudo hdparm -B 254 /dev/sda
This is not a permanent solution, to make it permanent you need to edit the hdparm.conf file.
I did as follows:
Code:
gksudo gedit /etc/hdparm.conf
Add this line to the very end of the file:
Code:
/dev/sda {
apm = 254
apm_battery = 254
}
Reboot the laptop and type the following:
Code:
sudo hdparm -B /dev/sda
The APM_Level will be 254 for when you are plugged in or on battery.
You can verify that the
count
is not increasing at an alarming rate by typing the following in a terminal:
Code:
smartctl -a /dev/sda | grep Load_Cycle_Count
Now I know the battery life will be shortened ever so slightly, but I have not noticed any difference.
I am sure someone else has formulated a similar solution and that this might not be unique.
Hope this helps.
https://wiki.ubuntu.com/DanielHahler/Bug59695
Similar Posts:
- max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
- Unable to start mongod after installing mongodb in Ubuntu
- [Solved] Connect to Ubuntu Error Via xshell: Could not connect to ‘xxxxx’ (port 22)
- How does MAC uninstall Jenkins
- How to Use awk to Analyze Nginx Log
- How to Solve Error Sudo: sorry, you must have a tty to run sudo
- Error Code: 1175. You are using safe update mode…
- error while loading shared libraries: libz.so.1:
- C++: internal compiler error: Killed (program cc1plus) [How to Solve]
- Error: ENOENT: no such file or directory, scandir ‘../node_modules/node-sass/vendor’