79643441

Date: 2025-05-29 07:04:48
Score: 1.5
Natty:
Report link
  1. Make sure the Activity Recognition code is initialized, called and stopped from the foreground service.

  2. Use Wakelocks if you want activity recognition to be done even screen is off.

  3. Ensure battery optimizations are "unrestricted" or disabled for your app.

https://dontkillmyapp.com will help if you have device specific issue.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Prajjwal Srivastav