Implemented power-down/up functionality