pin setting

try to get battery saving mode, but doesn't work. so back to the old
version