hotplug: add sysfs for first threshold

And doing some random cleanups.

Signed-off-by: Blechd0se <alex.christ@hotmail.de>