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

Question Cameraservice_worker partial wakelock

Search This thread

Goku1992

Senior Member
Feb 29, 2016
731
162
Dortmund

Attachments

  • mqdefault.jpg
    mqdefault.jpg
    4.7 KB · Views: 24
  • Haha
Reactions: jericho246

dr.ketan

Recognized Developer / Recognized Contributor
I was curious so bought the app. Installed it, enabled it. Wakelock still triggers
Because as per screenshot, this app can turn off sensor while screen is off. So there will be still many wacklocks that records with your movement while screen is on. Turning off sensor have limited effect. If this triggger blocked completely (without turning off sensor) then it will give good results on battery. According my test with my fix which completely prevents wakelocks (not possible on stock, unless samsung itself fix it) , it gives nearly 10-15% better battery/cycle. Still this may varies on usage pattern.
 

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
    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.
    2
    Yesterday after a short walk, on my note 20U with the august update there were fewer wakelocks than before from cameraservice_worker, but the battery was still draining and I noticed the BSS_Indisplaysensorhelper: P

    Mate, just FYI, BSS_Indisplaysensor helper is the fingerprint icon on the AOD display. If you disable the icon under fingerprint settings (set to never show) the wakelock dissappears.

    Another thing I have noticed, you have high bat usage from IMS Service wakelock. For me, my carrier automatically enrolled me in something called 'Rich Communications Suite'. (RCS)
    This is a setting under connections > more connection settings. What this does essentially, is allow large files and MMS messages to be sent within my carrier for free. BS stuff.

    Nevertheless, disable rich communications and you will have way less wakelocks from IMS service. At least this was my experience.

    Now, only the damn cameraservice_worker wakelock remains for to be fixed (Still no update yet)

    Cheers mate and spread the love
    2
    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?
    It's still there but drain is less 👍
    2
    Wow, I think you just saved my ass. Disabled those little buggers just now and I will probably be fine. Can't thank you enough!!
    And for the cameraservice_worker wakelock, as Dr. Ketan said, there could be a chance for it to be fixed with the android 12 and oneUI 4 updates, fingers crossed!!
    Cheers!!
    It's kinda already been fixed I think in AUHB update, I was moving around a lot at work today and it doesn't drain as much, it's now like the note 20 ultra, it exists but drain is way less ☺️ happy S21U owner now ! I can rely on my battery to last all day even when out walking and moving.
  • 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.