PSA: WiFi driver is broken - Unload kernel module to save lots of power
#1
120-170+mA of savings.
rfkill / iface down does not work properly, the wifi module will consume more power when disabled than when enabled. Toggling WiFi off does cause more powerdraw than leaving it on.

PHP Code:
sudo rmmod 8723cs    # kill wifi
sudo modprobe 8723cs # restore wifi 

Megi reproduced my findings today and is aware of the issue.
Quote:hmm, right, I can measure 416mA when wlan0 is up, and 505 mA when down, and 380mA when the driver is unloaded

Unloading the kernel module is currently the only workaround.

Maybe let the maintainers of the distro you're using know - I've already notified the SXMO team.
  Reply
#2
Do you know which kernel version(s) are affected? Presumably a kernel downgrade is another option?
I'm using Manjaro Phosh Beta 11 and I noticed the battery drain before reading this and was wondering what was happening.
Pinephone v1.2 UBports CE. Adelaide, Australia using Amaysim SIM (Optus network, VoLTE enabled) with Mobian SD card. VoLTE working also with Felix / Vodafone AU and Aldimobile / Telstra AU.
Manjaro Plasma Mobile on EMMC.
  Reply
#3
(06-22-2021, 08:45 PM)dcinoz Wrote: Do you know which kernel version(s) are affected? Presumably a kernel downgrade is another option?
I'm using Manjaro Phosh Beta 11 and I noticed the battery drain before reading this and was wondering what was happening.

Probably since 5.10, I know it's an issue on 5.12 for fact, but that driver was put into the 5.10 kernel initially according to megi's blog.
  Reply
#4
I can confirm this bug for sure.

Wi-Fi off (rmmod): 1.45 W
Wi-Fi on (and connected to AP): 1.55W
Wi-Fi "off" : 1.85 W

Code:
linux-pine64 5.12.7-1
phosh 0.11.0-1

This is good to know, I turn my Wi-Fi off when I go to sleep, this should save me some battery LOL.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Lightbulb Article: Experiments for super low PinePhone power consumption with Genode Surehand53 1 1,993 12-27-2022, 02:21 PM
Last Post: Samurai_Crow
  Article: NuttX RTOS for PinePhone: Display Driver in Zig lupyuen 0 1,159 10-17-2022, 07:02 PM
Last Post: lupyuen
  Article: NuttX RTOS for PinePhone: UART Driver lupyuen 0 848 09-09-2022, 10:35 PM
Last Post: lupyuen
  Most Power Efficient OS Image jwinarske 0 820 07-05-2022, 07:05 PM
Last Post: jwinarske
  Keyboard Case Power Management Daemon estokes 2 2,043 04-16-2022, 04:15 PM
Last Post: estokes
  Diagnosing power usage with ZZZtop biketool 1 1,826 10-21-2021, 01:23 PM
Last Post: tllim
  Reviewing our Forebearer's Work re:Power Consumption biketool 0 1,140 10-20-2021, 09:51 AM
Last Post: biketool
  Phosh - config within Settings does not save after reboot antitheos 0 1,409 09-24-2021, 04:30 PM
Last Post: antitheos
  Ubports Wifi Module not Returning Networks acohl 4 4,424 04-21-2021, 03:27 AM
Last Post: NinjaDino29
Lightbulb MACtrack: Track MAC addresses to their street address using WiFi (Phosh Desktop App) RTP 2 2,703 04-10-2021, 11:16 PM
Last Post: RTP

Forum Jump:


Users browsing this thread: 1 Guest(s)