Add power consumption graphs.

This commit is contained in:
Tom Alexander
2026-10-21 21:25:33 -04:00
parent 5925167346
commit d943d3680f
9 changed files with 1277 additions and 5629 deletions

View File

@@ -64,16 +64,22 @@ I also averaged their latency across the entire test, which shows the MT7927 as
For the power consumption tests, all readings are the *full* power usage of my laptop. The readings do not reflect the power consumption of the wifi card alone. There are many variables that go into a full system's power consumption (for example, which SSD and RAM you have installed and the brightness of your screen), so you shouldn't consider the absolute values here. Instead, you should look at the differences in power consumption between the two cards.
*** Idle
For this test, I let the laptop sit idle for 10 minutes and I measured the battery level before and after the test to calculate the power consumption.
Interestingly, the MT7927 had a lower power consumption than the QCNCM865 during sleep, but when the laptop was awake the QCNCM865 had lower power consumption than the MT7927.
*** Sleep(ish)
The Framework 13 AMD 7040 laptop only supports s2idle (colloquially called "modern standby") which some critics argue is "not real sleep" (referring to ACPI S3). Regardless of your opinions on s2idle, for the rest of this article I will be referring to s2idle as "sleep".
For this test, I put the laptop to sleep for 10 minutes and measured the battery level before and after to calculate the power consumption.
[[./files/graphs/power_consumption_sleep.svg]]
*** Idle
For this test, I let the laptop sit idle for 10 minutes and I measured the battery level before and after the test to calculate the power consumption.
[[./files/graphs/power_consumption_idle.svg]]
*** Active
For this test, I kept the wifi card active for 10 minutes by continuously sending pings to my router with src_bash[:exports code]{ping -f -i 0.002 172.16.0.1}. This specific invocation requires TODO's version of =ping=. I measured the battery level before and after the test to calculate the power consumption.
[[./files/graphs/power_consumption_active.svg]]
** Signal Strength
For the signal strength test, I ran src_bash[:exports code]{iw dev wlan0 link} every second for 10 minutes and parsed out the reported signal strength. This shows that the QCNCM865 reports a better signal strength than the MT7927. The MT7927 going through a wall with powersaving off is the outlier of weakest reported signal strength, but that is likely a consequence of using the 6GHz band, which would attenuate faster than 5GHz.