Android Power Management

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Android Power Management

1,306 次查看
hajimohammed
Contributor III

Android - Lolipop

Kernel - 3.10.53

I am working on Android Power Management. We have connected Keypad in POS board which is based on Android OS. After board goes to suspend mode if i press keypad or touch the touchscreen, board should not wake up(configured power Button as Wakeup source) . But now am getting issue like if I press keypad or touch the touchscreen, board is partially waking up (keypad light turns on and off  suddenly) not waking up fully. What changes I need to do  for stopping the partial wakeup ?

Regards,

Haji

0 项奖励
回复
1 回复

1,096 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

hi haji,

Wakelocks allow apps and kernel drivers to avoid suspend. You could use the wakelocks api.

https://developer.android.com/reference/android/os/PowerManager.html

regards

0 项奖励
回复