Added the power usage function