idle3ctl

apt-get install idle3-tools
$ sudo smartctl -A /dev/sda | grep "^193"
193 Load_Cycle_Count        0x0032   253   253   000    Old_age   Always       -       <b>14493</b>

Get idle3 timer raw value

idle3ctl -g /dev/sda

Disable idle3 timer

idle3ctl -d /dev/sda

Set the idle3 timer to 10s

idle3ctl -s 100 /dev/sda