auto change CPU frequency and voltage by battery or ac power
can save the power and make the battery time more long