TimeLapseCamera icon indicating copy to clipboard operation
TimeLapseCamera copied to clipboard

Camera Sometimes Stops Working After Locking (Android 14)

Open coatlessali opened this issue 1 year ago • 16 comments

The video will continue getting longer until I press stop, but no actual content will be added to it after I lock the phone I'm using. The filesize will reflect the actual length of the video. It's running Android 14 (LineageOS 21).

coatlessali avatar May 30 '24 04:05 coatlessali

I do not have that issue on Android 14. Have you tried setting energy optimization for this app to unrestricted?

woheller69 avatar May 30 '24 05:05 woheller69

The only setting I have available to me is "Allow background usage", which is turned on.

Sent from Proton Mail mobile

-------- Original Message -------- On May 30, 2024, 12:07 AM, woheller69 wrote:

I do not have that issue on Android 14. Have you tried setting energy optimization for this app to unrestricted?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

coatlessali avatar May 30 '24 05:05 coatlessali

Found it. I'm turning it on and will report back.

coatlessali avatar May 30 '24 05:05 coatlessali

This does not fix it. Pressing lock still stops the recording.

coatlessali avatar Jun 01 '24 21:06 coatlessali

How do you unlock your phone? Face recognition?

woheller69 avatar Jun 01 '24 21:06 woheller69

I unlock it with either the unlock button or the fingerprint sensor. It's a Pixel 5a. Are there any logs I can provide that might be helpful?

coatlessali avatar Jun 01 '24 21:06 coatlessali

Also of note, even if the video continues recording, the microphone does not.

coatlessali avatar Jun 01 '24 21:06 coatlessali

This is still an issue. Is there anything I could provide to help narrow this down?

coatlessali avatar Mar 24 '25 05:03 coatlessali

you can upload a logcat and I can see if I find something

woheller69 avatar Mar 24 '25 06:03 woheller69

logcat.txt

Sorry to keep you waiting. The last thing I did before ending the log was open MPV to check the video. It stopped recording 21 seconds in.

coatlessali avatar May 01 '25 06:05 coatlessali

05-01 01:27:47.587 1152 1411 I Lyric : face_detection_engine_face_ssd.cc:260

probably your face detection takes the camera away.

woheller69 avatar May 04 '25 07:05 woheller69

My phone doesn't have face unlocking.

coatlessali avatar May 06 '25 04:05 coatlessali

maybe you just don't know or a spy cam app?

woheller69 avatar May 06 '25 04:05 woheller69

It's running a build of Lineage without GApps and no option for face unlocking is exposed anywhere in my settings. This has also occured on multiple phones (Pixel 5a, Pixel 6) which I think rules out the probability of an app using my camera without knowledge.

coatlessali avatar May 06 '25 05:05 coatlessali

then you should ask LineageOS team what Lyric is...

woheller69 avatar May 06 '25 05:05 woheller69

Try this version. It requests IGNORE_BATTERY_OPTIMIZATION.

Uninstall Remove .zip and install

app-release.apk.zip

woheller69 avatar May 06 '25 12:05 woheller69