Move Electric.uptime() logic to TimeFrameGroup.update()