How to lock the CPU at a lower frequency when running on battery power?