Android Power Management

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Android Power Management

605 Views
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 Kudos
1 Reply

395 Views
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 Kudos