I want to be able to get the acceleration sensor value during sleep.

Asked 2 years ago, Updated 2 years ago, 39 views

We are currently developing an application for sensor acquisition at Android Studio.

So I want to be able to get sensor values in the background using the service, but when I put it in sleep mode, it became impossible to get it in about a minute.

If anyone knows the solution, please reply.

android

2022-09-30 17:36

1 Answers

Is the following helpful?

How to handle Broadcast during Sleep
https://qiita.com/nein37/items/52523e39932323ebc654


2022-09-30 17:36

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.