Dave Partridge - 2016-07-17

Just a short note to say that "smartctl -i -n standby" seems to be able correctly to identify whether the drive is active or in standby, so it may well be worth looking at smartctl code to see how the author of that code section checks for idle, sleep and standby power states.

Dave