Add log when setting powercfg.