android_device_xiaomi_aries icon indicating copy to clipboard operation
android_device_xiaomi_aries copied to clipboard

WiFi lose signal while screen locked

Open lance6716 opened this issue 10 years ago • 6 comments

Someone have the problem too according to xiaomi.eu forum. http://xiaomi.eu/community/threads/discussion-cm12-for-aries-by-m1cha.26162/page-30

I've noticed when I unlocked the photo WiFi will reconnect, and the battery usage shows WLAN turned off at about 15 min after the screen-off

lance6716 avatar Feb 28 '15 02:02 lance6716

does this still happen?

M1cha avatar Aug 03 '15 20:08 M1cha

version 5.5.5 cm12.1 20150730. not sure. might happens if there is no background IM apps(QQ or Wechat for me Chinese user), i'll check it asap.

lance6716 avatar Aug 04 '15 01:08 lance6716

exist.

lance6716 avatar Aug 04 '15 01:08 lance6716

Happened again when there is a background IM app. Perhaps my WiFi is poor.

lance6716 avatar Aug 05 '15 09:08 lance6716

Can confirm, happens to me as well. Possible workaround (by Frankenstu): http://forum.cyanogenmod.org/topic/107023-cm12121-wifi-connectivity-issuesdrops-workaround-included/#entry523766.

Go to Settings / Wi-Fi / Advanced

Go to "Keep Wi-Fi on during sleep"

Select "Never"

Now Go back in and re-select "Always"

Roysten avatar Aug 05 '15 10:08 Roysten

@M1cha I get the following errors in dmesg:

<4>[39941.591033] Suspending console(s) (use no_console_suspend to debug)
<6>[39941.599700] msm_fb_ext_suspend: Turning off HPD circuitry
<3>[39941.613311] wlan: [21668:E :HDD] hdd_is_apps_power_collapse_allowed: do not allow APPS power collapse-pmcState = 6 scanRspPending = 0 inMiddleOfRoaming = 1
<3>[39941.613341] wlan: [21668:E :HDD] wlan_suspend: Fail wlan suspend: not in IMPS/BMPS
<3>[39941.613372] wlan: [21668:F :HDD] hddDevSuspendHdlr: Not able to suspend wlan
<3>[39941.613402] dpm_run_callback(): platform_pm_suspend+0x0/0x54 returns -1
<3>[39941.613433] PM: Device wcnss_wlan.0 failed to suspend: error -1
<3>[39941.613463] PM: Some devices failed to suspend

Not sure if these errors are related to this problem. I do notice a bigger battery drain when the display is turned off compared to Kitkat. Could this be caused by the wlan failing to suspend?

Roysten avatar Aug 06 '15 13:08 Roysten