sqlite: new function 'on' to return the time a value/device was powered
on (0.0 to 1.0)