Battery : Change string literal into constants in tests
CpuFreq : Change string literal into constants in tests
Kms : Change string literal into constants in tests