• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Question Cameraservice_worker partial wakelock

Search This thread

adamlee2012

Senior Member
Jun 11, 2012
1,604
498
United Kingdom
Samsung Galaxy S21 Ultra
Anyone know how to locate this thread? If we could reply with all our findings regarding the camera service wakelock they might consider helping us find a solution.
 

Attachments

  • Screenshot_20210721-095513_Samsung Internet Beta.jpg
    Screenshot_20210721-095513_Samsung Internet Beta.jpg
    325.3 KB · Views: 114

jigna

Senior Member
Dec 16, 2010
171
43
I was looking at the GSAM stats on my S21U vs S20+ (my partner's phone) and the "android system" % within "App Usage" is virtually the same. By this i mean, it's the same High CPU Usage time (in the hours), but my S21U will have a high Keep Awake time, whereas the S20+ doesn't have the cameraservice_wakelock triggering, so the Keep awake is much lower.

What I'm now thinking is that this wakelock is either:
1) Not a problem - yes it shows the stat on S21U and Note20U, but it has no effect on the phone OR
2) It IS a problem, due to sensors triggering the CPU, and it's happening across MORE phones than the S21U and Note20U

I know @dr.ketan investigated this and has developed a workaround/fix in his ROM, but I'm wondering if there's an actual difference IRL
 

dr.ketan

Recognized Developer / Recognized Contributor
either:
1) Not a problem - yes it shows the stat on S21U and Note20U, but it has no effect on the phone OR

I know @dr.ketan investigated this and has developed a workaround/fix in his ROM, but I'm wondering if there's an actual difference IRL
There is problem on S21 only.
I have compared with and without fix (my fix completely eliminates the wakelock) and there is clear difference reflects in SOT
So, Samsung have somewhat messed up on S21 only, N20 have wakeup but very minimal and almost no ill effect on battery
 
  • Like
Reactions: adamlee2012

jigna

Senior Member
Dec 16, 2010
171
43
There is problem on S21 only.
I have compared with and without fix (my fix completely eliminates the wakelock) and there is clear difference reflects in SOT
So, Samsung have somewhat messed up on S21 only, N20 have wakeup but very minimal and almost no ill effect on battery
It's weird though why the Android system usage is still high even though there's no wakelock on the s20. CPU is still being triggered in the background for whatever reason, but no wakelock detected
 

adamlee2012

Senior Member
Jun 11, 2012
1,604
498
United Kingdom
Samsung Galaxy S21 Ultra
I think we should just give up Hoping for a fix. Samsung aren't interested in our feedback. I keep sending logs. Told them I'm tired of the same copy and paste response so they've just replied with a different copy and paste message. 🤣🤣 We all payed £1200 for our devices... Shouldn't we have control over battery life Vs the rattle? I'd rather a setting in the camera app to turn off this soooo called "FEATURE" THATS WORKING AS INTENDED 🤬🤬🤬
 

Attachments

  • Screenshot_20210726-152032_Samsung Members.jpg
    Screenshot_20210726-152032_Samsung Members.jpg
    767 KB · Views: 56

Goku1992

Senior Member
Feb 29, 2016
730
160
Dortmund
I think we should just give up Hoping for a fix. Samsung aren't interested in our feedback. I keep sending logs. Told them I'm tired of the same copy and paste response so they've just replied with a different copy and paste message. 🤣🤣 We all payed £1200 for our devices... Shouldn't we have control over battery life Vs the rattle? I'd rather a setting in the camera app to turn off this soooo called "FEATURE" THATS WORKING AS INTENDED 🤬🤬🤬
Yes rattle and bad battery is better that rattle and good battery. They are right🤣
 
  • Like
Reactions: russellcausier

Goku1992

Senior Member
Feb 29, 2016
730
160
Dortmund
Guys we all need to spam Samsung for this "Feature". Only thing we can do is hold together to get this fixed :) me and our buddy adamlee2012 are trying everything but we need your help! EVERY S21 ULTRA has this bug.... Also yours! The battery standbye could be a good amount better. Please help us and send an report via Samsung members or via email. Thanks :)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    Hello guys just an update:
    Since updating my phone to the AUHB August patch, for me I'm happy to say that this wakelock seems a lot less frequent :D!

    I can finally use my phone like how it's meant to be used. And I finally have face unlock functional again! (Previously couldn't work as sensors were off)

    What is the situation with you guys? Is anyone still having this wakelock a lot?
    3
    There some good news that may get some relief to non root users.
    Fold 3 have removed this code and shouln't have this issue, I have found it while looking into code for some other purpose, though I don't own Fold 3 yet. So, may be with A12/next major update they are planning with august end, this may get fixed.
    And one bad news for rooted user, fold 3 now have disabled camera if you root device lol!
    3
    Could be possible yes...

    I've had sensors off most of the day while at work. Turned sensors back on when id finished
    I believe samsung heard you. It probably adjusted the shake sensor threshold.
    3
    With the new Update AUHB from yesterday for Exynos, I got no wakelocks fom Cameraservice_worker partial wakelock anymore.
    Yesterday on a ride with my bike for 5 hours, I had nearly 1 hour wakelocks, and today with an over 1 hour walk no wakelocks anymore.
    I hope, that it will not return again. Is there anybody else, who can confirm that?
    2
    Wow hope this is true😍 looking forward to the new update 👌🏾
    It's still an issue with the latest update.
  • 10
    Ok, so today (thanks sunday) dig this issue further as too many discussion was going on but never experienced it as my S21U is just spared device and only using for development purpose.
    There are some good and bad news.
    • This seems intentional and to prevent camera motor sound while device isn't being used. I have doubt samsung gonna fix this
    • There can be some workaround/partial fix and may some good fix
    • Partial fix may have some compromisation like disable sensor at all while screen is off. This can be achieved with external app. Again there may be little drain for this app (Though should be negligible). App needs root.
    • Some system level fix (custom ROM) can be tried, I have tested one and result is attached in below screenshot. C=control (with stock) T= Test. In both tests, I couldn't find CamerService_wakelocks.
    Teseted1 for 9-10min walk + 2-3 min standby + some shaking - No wakelock detected
    Tested 2 with some semi manual changes - 5 min walk + some shake - No wake lock detected
    Restore stock and (control) and wakelocks returns.
    Important things to test are :
    • How much this makes difference practically
    • Does this breakes any camera/other important fuctions (Specifically when system level changes made)

    Main drawback is either of method needs root. Still looking if some workaround there for non root but chances are thin.
    Yet needs some more and thorugh testing. Let's see how time permits.


    Screenshot_20210606-201752.jpg Screenshot_20210606-224203.jpg Screenshot_20210606-223335.jpg Screenshot_20210606-222556.jpg
    6
    Though not perfect but we can write some scripts (meanwhile Samsung fix it) that can turn off sensors while screen is off and vice versa when screen turns on.
    6
    Which app to use or where to go to disable this wakelock?
    It's under development (testing) phase.
    6
    Today tested effect of fix and with Sensor off method (Tool with Auto off sensor when screen is off) drain was nearly 2-3%, similar to turning off sensor manually (Benefit of fix is, it will do it on it's own, you don't needs to turn sensor On/off manually)
    Another fix is pretty cool (ROM level), No wakelocks at all. nearly 1 hr (10-15 min walk, 2-3 min screen on and rest of time in pocket in sitting position) battery drain was only 1% (attached screenshot). This fix doen't needs QS tile too.
    Unfortunately both needs root.