added checkbox for toggling the power mode