开发者

Android wifi power question

开发者 https://www.devze.com 2023-01-12 16:13 出处:网络
I have observed that by default the wifi adaptor goes into (power saving mode) PSM mode.When Certain applications such as youtube

I have observed that by default the wifi adaptor goes into (power saving mode) PSM mode. When Certain applications such as youtube appear to buffer video, the adaptor leaves PSM mode into CAM state or full power mode. Once the buffering is done, the wifi adaptor goes back into PSM mode. I have observed this behavior with other applications as well. Is there 开发者_JAVA技巧an API call that supports this kind of behavior? It's not clear from the documentation how to switch the WIFI adapator in and out of PSM mode.


WiFi goes PSM or CAM not under Application's control, it's the 802.11 Power Management Mode -- whenever there is traffic, the WiFi goes to CAM, when transfer is done, it goes back to PSM. On application layer, you simply generate some traffic, the NIC driver will automatically transit to right mode.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号