Fix cpufreq, save more battery, and fix power-off charging