emrsmsrli / Caffeine

MIT License
36 stars 7 forks source link

Failing to keep device awake #2

Closed ShapeShifter499 closed 6 years ago

ShapeShifter499 commented 6 years ago

I'm using this on a Motorola X Pure running the latest stock rom of Nougat 7.0. I'd like to keep the phone awake when it's plugged in and listening to music but not always.

I installed this app, set up the quick tile, and triple tapped till I saw the infinity symbol and a "filled" white cup. After a couple of minutes my device goes to sleep and I have to to unlock it even though I was certain I activated this caffine app.

emrsmsrli commented 6 years ago

Hi @ShapeShifter499 !

Can you give me the logcat of your device after the device goes to sleep when Caffeine is active?

If you don't know how to gather logcat:

Thanks!

ShapeShifter499 commented 6 years ago

@emrsmsrli I started logcat and then started caffine on the infinity setting. I waited untill the device went to sleep, then I unlocked it and stopped the log. Attached is a log from this. caffeine.txt

emrsmsrli commented 6 years ago

@ShapeShifter499 You have to run the logcat AFTER device goes to sleep. You can unlock your device and try logcat -d > /sdcard/log.txt. Thanks!

Edit: Don't forget the -d parameter!