Working on the power saving code.