Latest revision |
Your text |
Line 80: |
Line 80: |
| --[[User:joerg_rw|joerg_rw]] 12:28, 13 May 2015 (UTC) | | --[[User:joerg_rw|joerg_rw]] 12:28, 13 May 2015 (UTC) |
| | | |
- | WLAN PS-mode medium,10 mW, ssh login active, local xterm with bq27200 script loop 20, screen blanked, aggressive custom breathing indicator light: 20 mA | + | WLAN PS-mode medium,10 mW, ssh login active, local xterm with bq27200 script loop -9, screen blanked, aggressive custom breathing indicator light: 20 mA |
| | | |
| xchat 8 freenode chan, wifi PSM medium, screen locked: | | xchat 8 freenode chan, wifi PSM medium, screen locked: |
Line 101: |
Line 101: |
| 18:40 4087 99 99 -64 1180 1180 1180 65535 3403 36 0 | | 18:40 4087 99 99 -64 1180 1180 1180 65535 3403 36 0 |
| </pre> | | </pre> |
- |
| |
- | 7mAh / 4min = 7*60mA_min / 4min = ~105mA(h/h); obviously depends a lot on IRC activity during test period
| |
| | | |
| ===A script to monitor the power consumption for a minute using bq27x00_battery=== | | ===A script to monitor the power consumption for a minute using bq27x00_battery=== |
Line 132: |
Line 130: |
| print mean(@pa); | | print mean(@pa); |
| </pre> | | </pre> |
- |
| |
- |
| |
- | chip-based more exact and smarter way:
| |
- | --[[User:joerg_rw|joerg_rw]] 15:02, 16 October 2017 (UTC)
| |
- | <pre>
| |
- | IroN900:~# bq27k-detail2|grep -A1 0x23; sleep 60; bq27k-detail2|grep -A1 0x23
| |
- | 0x23 - 0x22: 3031 SAE Available Energy High - Low Byte 29.2 µV2h (2) R
| |
- | *29.2 / 20 = 4425 mWh
| |
- | 0x23 - 0x22: 3029 SAE Available Energy High - Low Byte 29.2 µV2h (2) R
| |
- | *29.2 / 20 = 4422 mWh
| |
- | </pre>
| |
- | (4425 mWh - 4422 mWh) / 1/60h = 180mW
| |
- |
| |
- | <pre>
| |
- | IroN900:~# bq27k-detail2|grep -A1 0x23; sleep 180; bq27k-detail2|grep -A1 0x23
| |
- | 0x23 - 0x22: 3022 SAE Available Energy High - Low Byte 29.2 µV2h (2) R
| |
- | *29.2 / 20 = 4412 mWh
| |
- | 0x23 - 0x22: 3019 SAE Available Energy High - Low Byte 29.2 µV2h (2) R
| |
- | *29.2 / 20 = 4407 mWh
| |
- | </pre>
| |
- | (4412 mWh - 4407 mWh ) * 3600 s/h / 180 s = 100mW
| |
- |
| |
- |
| |
- | most accurate method: get average of NAC over a long period:
| |
- | <pre>IroN900:~# bq27200.sh 300
| |
- | LOOPMODE=300 RS=22
| |
- | mv RSOC CSOC mA NAC CACD CACT TTF TTE TEMP
| |
- | 17:50 4115 96 96 -41 1098 1098 1098 65535 1606 25 NOACT:0 IMIN:0 CI:0 CALIP:0 VDQ:1 EDV1:0 EDVF:0
| |
- | 17:55 4131 96 96 -13 1095 1095 1095 65535 4882 25 NOACT:0 IMIN:0 CI:0 CALIP:0 VDQ:1 EDV1:0 EDVF:0
| |
- | 18:00 4131 96 96 -14 1094 1094 1094 65535 4496 24 NOACT:0 IMIN:0 CI:0 CALIP:0 VDQ:1 EDV1:0 EDVF:0
| |
- | 18:05 4131 96 96 -22 1091 1091 1091 65535 2884 24 NOACT:0 IMIN:0 CI:0 CALIP:0 VDQ:1 EDV1:0 EDVF:0
| |
- | 18:10 4123 95 95 -109 1087 1087 1087 65535 594 25 NOACT:0 IMIN:0 CI:0 CALIP:0 VDQ:1 EDV1:0 EDVF:0
| |
- | 18:15 4118 95 95 -41 1084 1084 1084 65535 1572 25 NOACT:0 IMIN:0 CI:0 CALIP:0 VDQ:1 EDV1:0 EDVF:0
| |
- | 18:20 4118 95 95 -23 1080 1080 1080 65535 1884 25 NOACT:0 IMIN:0 CI:0 CALIP:0 VDQ:1 EDV1:0 EDVF:0
| |
- | 18:25 4110 94 94 -33 1077 1077 1077 65535 1906 24 NOACT:0 IMIN:0 CI:0 CALIP:0 VDQ:1 EDV1:0 EDVF:0
| |
- | 18:30 4118 94 94 -34 1076 1076 1076 65535 1859 24 NOACT:0 IMIN:0 CI:0 CALIP:0 VDQ:1 EDV1:0 EDVF:0
| |
- | 18:35 4107 94 94 -12 1073 1073 1073 65535 5156 24 NOACT:0 IMIN:0 CI:0 CALIP:0 VDQ:1 EDV1:0 EDVF:0
| |
- | 18:40 4113 94 94 -143 1069 1069 1069 65535 447 25 NOACT:0 IMIN:0 CI:0 CALIP:0 VDQ:1 EDV1:0 EDVF:0
| |
- | </pre>
| |
- | average delta-NAC per 5 minutes: 3mAh = 36mAh/h
| |
- |
| |
- | delta-NAC 17:50 4115 96 1098 - 18:20 4118 95 1080 = 18mAh/30min = 36mA
| |
- |
| |
- | The noise observed in spot reading of "mA" and "TTE" values is from random system activity. It averages out just fine to match the 36mA from long term measure.
| |
- |
| |
- | Above test been done on a locked/dimmed device on WLAN with working PSM, xchat active
| |
| | | |
| ==Software== | | ==Software== |