for 1.4
- add sleep mode setting