Android power manager

Programming/Android 2013. 4. 10. 22:34 Posted by 생각하는로뎅
반응형

  안드로이드는 파워버튼으로 screen off를 해버리면, 일정시간이 지난 후 cpu의 활동을 잠재워버린다. 

  안드로이드는 배터리 절약 정책을 준수하고 있기 때문이다. 그래서 screen이 off된 상태에서도 계속 cpu가 동작해야하는 application을 위해서 power manager이 존재한다.

  반드시 주의해야 할 점은, acquire를 시행했다면, 반드시 끝나는 지점에는 relase로 마무리 시켜줘야한다. 그렇지 않으면 뱃더리의 소모량이 엄청나게 늘어난다!



releas
permission


반응형

'Programming > Android' 카테고리의 다른 글

Android file share  (0) 2013.04.10
Android file view  (0) 2013.04.10
Android text to image and share  (0) 2013.04.10
Android notification and vibrate  (0) 2013.04.10
Android action bar from the option menu  (0) 2013.04.09