# Proximitiy wake lock was not released

**URL:** <https://devforum.zoom.us/t/proximitiy-wake-lock-was-not-released/136345>\
**Category:** Android\
**Created:** [August 11, 2025, 6:38am UTC](https://devforum.zoom.us/t/proximitiy-wake-lock-was-not-released/136345 "2025-08-11T06:38:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fteng](https://avatars.discourse-cdn.com/v4/letter/f/ec9cab/32.png) [@fteng](https://devforum.zoom.us/u/fteng)\
**Post date:** [August 11, 2025, 6:38am UTC](https://devforum.zoom.us/t/proximitiy-wake-lock-was-not-released/136345/1 "2025-08-11T06:38:22Z")

</div>

### **Description**

Proximitiy Lock was not released after user leaves the session

**Which Android Video SDK version?**  
1.13.11

**To Reproduce**  
use command `adb shell dumpsys power | grep -A 20 “Wake Locks”` during different stage to check the Wake Lock status

1. Start the app

result (Expected): `Wake Locks: size=0`

2. User joins the session

result (Expected):

```auto
Wake Locks: size=7
  PARTIAL_WAKE_LOCK 'AudioMix' ACQ=-4s12ms (uid=1041 ws=WorkSource{10035} displayId=-1 lock=c6467ee)
  PARTIAL_WAKE_LOCK 'AudioMix' ACQ=-2s697ms (uid=1041 displayId=-1 lock=e7ef48f)
  PARTIAL_WAKE_LOCK 'AudioIn' ACQ=-6s217ms (uid=1041 ws=WorkSource{10035} displayId=-1 lock=2be31c)
  PROXIMITY_SCREEN_OFF_WAKE_LOCK 'us.zoom.video_sdk.e2:proximitiy' ACQ=-4s613ms (uid=10035 pid=12845 displayId=-1 lock=1ebf51b)
  PARTIAL_WAKE_LOCK 'AudioMix' ACQ=-2s793ms (uid=1041 displayId=-1 lock=58a6b25)
  PARTIAL_WAKE_LOCK 'AudioMix' ACQ=-2s792ms (uid=1041 displayId=-1 lock=c3314fa)
  PARTIAL_WAKE_LOCK 'MmapPlayback' ACQ=-2s751ms (uid=1041 ws=WorkSource{10035} displayId=-1 lock=5804aab)

```

1. User leaves the session  
Result (Error):

```auto
Wake Locks: size=1
  PROXIMITY_SCREEN_OFF_WAKE_LOCK 'us.zoom.video_sdk.e2:proximitiy' ACQ=-2m2s602ms (uid=10035 pid=12845 displayId=-1 lock=1ebf51b)

```

This Proximity wake lock is not released,  
The screen get turned off when there is an object close to the screen even when the user is not in the call or the app is in the background.

**Smartphone**

- Device: Samsung S21
- OS: Android 15

**Additional context**  
Sorry I am aware that I am not on the latest SDK. Is this fixed in a newer version?

---

<div class="post-metadata">

**Author:** ![ticorrian.heard](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ticorrian.heard/32/70213_2.png) [@ticorrian.heard](https://devforum.zoom.us/u/ticorrian.heard)\
**Post date:** [August 11, 2025, 5:20pm UTC](https://devforum.zoom.us/t/proximitiy-wake-lock-was-not-released/136345/2 "2025-08-11T17:20:13Z")

</div>

Hi @fteng I can assist here. Are you able to replicate this error using one of our [Android sample apps](https://github.com/zoom/videosdk-android-quickstart)?

---

<div class="post-metadata">

**Author:** ![fteng](https://avatars.discourse-cdn.com/v4/letter/f/ec9cab/32.png) [@fteng](https://devforum.zoom.us/u/fteng)\
**Post date:** [November 6, 2025, 11:51pm UTC](https://devforum.zoom.us/t/proximitiy-wake-lock-was-not-released/136345/3 "2025-11-06T23:51:23Z")

</div>

Hey @ticorrian.heard,

Thanks for your reply.  
We finally got to the bottom of it — the issue occurs because we call `ZoomVideoSDKAudioHelper::setSpeaker(false)` during the call. When the user ends the call while still in earpiece mode, the proximity lock isn’t released afterward.

We’re already calling `ZoomVideoSDKAudioHelper::stopAudio()` before the call ends. Are there any additional cleanup steps required in this case?

Since the Sample App doesn’t include a speaker switch, we haven’t been able to reproduce the issue there (yet).

I’ll reply to this thread once we have an update.

Best,  
Fei

---

<div class="post-metadata">

**Author:** ![ticorrian.heard](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ticorrian.heard/32/70213_2.png) [@ticorrian.heard](https://devforum.zoom.us/u/ticorrian.heard)\
**Post date:** [November 10, 2025, 5:25pm UTC](https://devforum.zoom.us/t/proximitiy-wake-lock-was-not-released/136345/4 "2025-11-10T17:25:54Z")

</div>

Hi @fteng thanks for the update! `stopAudio()` should be the only thing specific for Audio teardown.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [November 10, 2026, 5:26pm UTC](https://devforum.zoom.us/t/proximitiy-wake-lock-was-not-released/136345/5 "2026-11-10T17:26:08Z")

</div>

Closed on November 10, 2026, 5:26pm UTC

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
