Added get power functionality