fix: bug in the PowerSpySensor

The division for getting the ratio between the elapsed and global times was wrong, it returned an Int.
It's now replaced by a double.