Dramatically low performance on battery power

Hi,

I have recently owned a Lenovo Thinkpad P51.

The laptop works very well and is very powerful, but unfortunately only on mains power.

When I switch to battery power, the laptop’s performance drops dramatically. Applications launch in a few seconds on AC power, while When I switch to battery power, the same applications load in tens of seconds.

What could I do so that I can run as efficiently when the laptop is unplugged? I have the performance settings in the bios set to “max performance” for battery power and AC power.

You can try to set scaling governor to performance mode from dom0:
/usr/sbin/xenpm set-scaling-governor performance
Or on boot:

1 Like

Hey, I did it and I still have the same problem - the computer runs terribly slow - even loading web pages takes a few seconds on battery power. Unfortunately on battery power it won’t even start sys-firewall, it pops up timeout. I am sending the logs I made on battery power and mains power. Can you please help? What else can I check? Does qubes somehow slow down the computer on battery power? I’ll add that when the laptop is plugged into power, the performance increases significantly and the fans run more intensively.

Get-cpu-topology_AC:

CPU	core	socket	node
CPU0	 0	 0	 0
CPU1	 0	 0	 0
CPU2	 1	 0	 0
CPU3	 1	 0	 0
CPU4	 2	 0	 0
CPU5	 2	 0	 0
CPU6	 3	 0	 0
CPU7	 3	 0	 0

get-cpu-topology_bat:

CPU	core	socket	node
CPU0	 0	 0	 0
CPU1	 0	 0	 0
CPU2	 1	 0	 0
CPU3	 1	 0	 0
CPU4	 2	 0	 0
CPU5	 2	 0	 0
CPU6	 3	 0	 0
CPU7	 3	 0	 0

get-cpufreq-average_AC:

cpu id               : 0
average cpu frequency: 1736620

cpu id               : 2
average cpu frequency: 1736620

cpu id               : 4
average cpu frequency: 1764630

cpu id               : 6
average cpu frequency: 1764630

Get-cpufreq-average_bat:

cpu id               : 0
average cpu frequency: 980350

cpu id               : 2
average cpu frequency: 980350

cpu id               : 4
average cpu frequency: 952340

cpu id               : 6
average cpu frequency: 952340

get-cpufreq-para_AC:


cpu id               : 0
affected_cpus        : 0
cpuinfo frequency    : max [2801000] min [800000] cur [2801000]
scaling_driver       : acpi-cpufreq
scaling_avail_gov    : hwp-internal userspace performance powersave ondemand
current_governor     : performance
scaling_avail_freq   : *2801000 2800000 2700000 2600000 2400000 2300000 2000000 1900000 1800000 1700000 1500000 1400000 1200000 1100000 900000 800000
scaling frequency    : max [2801000] min [800000] cur [2801000]
turbo mode           : enabled

cpu id               : 2
affected_cpus        : 2
cpuinfo frequency    : max [2801000] min [800000] cur [2801000]
scaling_driver       : acpi-cpufreq
scaling_avail_gov    : hwp-internal userspace performance powersave ondemand
current_governor     : performance
scaling_avail_freq   : *2801000 2800000 2700000 2600000 2400000 2300000 2000000 1900000 1800000 1700000 1500000 1400000 1200000 1100000 900000 800000
scaling frequency    : max [2801000] min [800000] cur [2801000]
turbo mode           : enabled

cpu id               : 4
affected_cpus        : 4
cpuinfo frequency    : max [2801000] min [800000] cur [2801000]
scaling_driver       : acpi-cpufreq
scaling_avail_gov    : hwp-internal userspace performance powersave ondemand
current_governor     : performance
scaling_avail_freq   : *2801000 2800000 2700000 2600000 2400000 2300000 2000000 1900000 1800000 1700000 1500000 1400000 1200000 1100000 900000 800000
scaling frequency    : max [2801000] min [800000] cur [2801000]
turbo mode           : enabled

cpu id               : 6
affected_cpus        : 6
cpuinfo frequency    : max [2801000] min [800000] cur [2801000]
scaling_driver       : acpi-cpufreq
scaling_avail_gov    : hwp-internal userspace performance powersave ondemand
current_governor     : performance
scaling_avail_freq   : *2801000 2800000 2700000 2600000 2400000 2300000 2000000 1900000 1800000 1700000 1500000 1400000 1200000 1100000 900000 800000
scaling frequency    : max [2801000] min [800000] cur [2801000]
turbo mode           : enabled

get-cpufreq-para_bat:

cpu id               : 0
affected_cpus        : 0
cpuinfo frequency    : max [2801000] min [800000] cur [2801000]
scaling_driver       : acpi-cpufreq
scaling_avail_gov    : hwp-internal userspace performance powersave ondemand
current_governor     : performance
scaling_avail_freq   : *2801000 2800000 2700000 2600000 2400000 2300000 2000000 1900000 1800000 1700000 1500000 1400000 1200000 1100000 900000 800000
scaling frequency    : max [2801000] min [800000] cur [2801000]
turbo mode           : enabled

cpu id               : 2
affected_cpus        : 2
cpuinfo frequency    : max [2801000] min [800000] cur [2801000]
scaling_driver       : acpi-cpufreq
scaling_avail_gov    : hwp-internal userspace performance powersave ondemand
current_governor     : performance
scaling_avail_freq   : *2801000 2800000 2700000 2600000 2400000 2300000 2000000 1900000 1800000 1700000 1500000 1400000 1200000 1100000 900000 800000
scaling frequency    : max [2801000] min [800000] cur [2801000]
turbo mode           : enabled

cpu id               : 4
affected_cpus        : 4
cpuinfo frequency    : max [2801000] min [800000] cur [2801000]
scaling_driver       : acpi-cpufreq
scaling_avail_gov    : hwp-internal userspace performance powersave ondemand
current_governor     : performance
scaling_avail_freq   : *2801000 2800000 2700000 2600000 2400000 2300000 2000000 1900000 1800000 1700000 1500000 1400000 1200000 1100000 900000 800000
scaling frequency    : max [2801000] min [800000] cur [2801000]
turbo mode           : enabled

cpu id               : 6
affected_cpus        : 6
cpuinfo frequency    : max [2801000] min [800000] cur [2801000]
scaling_driver       : acpi-cpufreq
scaling_avail_gov    : hwp-internal userspace performance powersave ondemand
current_governor     : performance
scaling_avail_freq   : *2801000 2800000 2700000 2600000 2400000 2300000 2000000 1900000 1800000 1700000 1500000 1400000 1200000 1100000 900000 800000
scaling frequency    : max [2801000] min [800000] cur [2801000]
turbo mode           : enabled

get-cpufreq-states_AC:

cpu id               : 0
total P-states       : 16
usable P-states      : 16
current frequency    : 2801 MHz
*P0        [2801 MHz]: transition [                5247]
                       residency  [             2041249 ms]
P1         [2800 MHz]: transition [                 405]
                       residency  [                5329 ms]
P2         [2700 MHz]: transition [                 369]
                       residency  [                4874 ms]
P3         [2600 MHz]: transition [                 763]
                       residency  [               11285 ms]
P4         [2400 MHz]: transition [                 306]
                       residency  [                4150 ms]
P5         [2300 MHz]: transition [                 694]
                       residency  [                8812 ms]
P6         [2000 MHz]: transition [                 194]
                       residency  [                1920 ms]
P7         [1900 MHz]: transition [                 180]
                       residency  [                1680 ms]
P8         [1800 MHz]: transition [                 214]
                       residency  [                1976 ms]
P9         [1700 MHz]: transition [                 626]
                       residency  [                6191 ms]
P10        [1500 MHz]: transition [                 359]
                       residency  [                3345 ms]
P11        [1400 MHz]: transition [                 682]
                       residency  [                7761 ms]
P12        [1200 MHz]: transition [                 294]
                       residency  [                2571 ms]
P13        [1100 MHz]: transition [                 851]
                       residency  [              134177 ms]
P14        [ 900 MHz]: transition [                 328]
                       residency  [                8290 ms]
P15        [ 800 MHz]: transition [                1988]
                       residency  [               30790 ms]

cpu id               : 2
total P-states       : 16
usable P-states      : 16
current frequency    : 2801 MHz
*P0        [2801 MHz]: transition [                5043]
                       residency  [             2055094 ms]
P1         [2800 MHz]: transition [                 341]
                       residency  [                4610 ms]
P2         [2700 MHz]: transition [                 373]
                       residency  [                5148 ms]
P3         [2600 MHz]: transition [                 771]
                       residency  [               11610 ms]
P4         [2400 MHz]: transition [                 305]
                       residency  [                4127 ms]
P5         [2300 MHz]: transition [                 597]
                       residency  [                7294 ms]
P6         [2000 MHz]: transition [                 196]
                       residency  [                1974 ms]
P7         [1900 MHz]: transition [                 219]
                       residency  [                1980 ms]
P8         [1800 MHz]: transition [                 236]
                       residency  [                2180 ms]
P9         [1700 MHz]: transition [                 571]
                       residency  [                5826 ms]
P10        [1500 MHz]: transition [                 313]
                       residency  [                2652 ms]
P11        [1400 MHz]: transition [                 622]
                       residency  [                6639 ms]
P12        [1200 MHz]: transition [                 288]
                       residency  [                2470 ms]
P13        [1100 MHz]: transition [                 866]
                       residency  [              134943 ms]
P14        [ 900 MHz]: transition [                 352]
                       residency  [                7652 ms]
P15        [ 800 MHz]: transition [                1955]
                       residency  [               31064 ms]

cpu id               : 4
total P-states       : 16
usable P-states      : 16
current frequency    : 2801 MHz
*P0        [2801 MHz]: transition [                7659]
                       residency  [             1986345 ms]
P1         [2800 MHz]: transition [                 375]
                       residency  [                4621 ms]
P2         [2700 MHz]: transition [                 351]
                       residency  [                4609 ms]
P3         [2600 MHz]: transition [                 734]
                       residency  [                9712 ms]
P4         [2400 MHz]: transition [                 302]
                       residency  [                3355 ms]
P5         [2300 MHz]: transition [                 896]
                       residency  [               10397 ms]
P6         [2000 MHz]: transition [                 375]
                       residency  [                3373 ms]
P7         [1900 MHz]: transition [                 413]
                       residency  [                3766 ms]
P8         [1800 MHz]: transition [                 435]
                       residency  [                3682 ms]
P9         [1700 MHz]: transition [                 982]
                       residency  [                8265 ms]
P10        [1500 MHz]: transition [                 561]
                       residency  [                4167 ms]
P11        [1400 MHz]: transition [                 939]
                       residency  [                8383 ms]
P12        [1200 MHz]: transition [                 475]
                       residency  [                3256 ms]
P13        [1100 MHz]: transition [                1244]
                       residency  [              139701 ms]
P14        [ 900 MHz]: transition [                 495]
                       residency  [                7422 ms]
P15        [ 800 MHz]: transition [                3988]
                       residency  [               49729 ms]

cpu id               : 6
total P-states       : 16
usable P-states      : 16
current frequency    : 2801 MHz
*P0        [2801 MHz]: transition [                7643]
                       residency  [             1979259 ms]
P1         [2800 MHz]: transition [                 395]
                       residency  [                4834 ms]
P2         [2700 MHz]: transition [                 360]
                       residency  [                4545 ms]
P3         [2600 MHz]: transition [                 689]
                       residency  [                9047 ms]
P4         [2400 MHz]: transition [                 306]
                       residency  [                3574 ms]
P5         [2300 MHz]: transition [                 931]
                       residency  [               10960 ms]
P6         [2000 MHz]: transition [                 396]
                       residency  [                3681 ms]
P7         [1900 MHz]: transition [                 444]
                       residency  [                3867 ms]
P8         [1800 MHz]: transition [                 461]
                       residency  [                3903 ms]
P9         [1700 MHz]: transition [                1050]
                       residency  [                9322 ms]
P10        [1500 MHz]: transition [                 529]
                       residency  [                4480 ms]
P11        [1400 MHz]: transition [                 878]
                       residency  [                7320 ms]
P12        [1200 MHz]: transition [                 401]
                       residency  [                2679 ms]
P13        [1100 MHz]: transition [                1222]
                       residency  [              140122 ms]
P14        [ 900 MHz]: transition [                 535]
                       residency  [                7692 ms]
P15        [ 800 MHz]: transition [                3956]
                       residency  [               46372 ms]

get-cpufreq-states_bat:

cpu id               : 0
total P-states       : 16
usable P-states      : 16
current frequency    : 2801 MHz
*P0        [2801 MHz]: transition [                5247]
                       residency  [             1434481 ms]
P1         [2800 MHz]: transition [                 405]
                       residency  [                5329 ms]
P2         [2700 MHz]: transition [                 369]
                       residency  [                4874 ms]
P3         [2600 MHz]: transition [                 763]
                       residency  [               11285 ms]
P4         [2400 MHz]: transition [                 306]
                       residency  [                4150 ms]
P5         [2300 MHz]: transition [                 694]
                       residency  [                8812 ms]
P6         [2000 MHz]: transition [                 194]
                       residency  [                1920 ms]
P7         [1900 MHz]: transition [                 180]
                       residency  [                1680 ms]
P8         [1800 MHz]: transition [                 214]
                       residency  [                1976 ms]
P9         [1700 MHz]: transition [                 626]
                       residency  [                6191 ms]
P10        [1500 MHz]: transition [                 359]
                       residency  [                3345 ms]
P11        [1400 MHz]: transition [                 682]
                       residency  [                7761 ms]
P12        [1200 MHz]: transition [                 294]
                       residency  [                2571 ms]
P13        [1100 MHz]: transition [                 851]
                       residency  [              134177 ms]
P14        [ 900 MHz]: transition [                 328]
                       residency  [                8290 ms]
P15        [ 800 MHz]: transition [                1988]
                       residency  [               30790 ms]

cpu id               : 2
total P-states       : 16
usable P-states      : 16
current frequency    : 2801 MHz
*P0        [2801 MHz]: transition [                5043]
                       residency  [             1446466 ms]
P1         [2800 MHz]: transition [                 341]
                       residency  [                4610 ms]
P2         [2700 MHz]: transition [                 373]
                       residency  [                5148 ms]
P3         [2600 MHz]: transition [                 771]
                       residency  [               11610 ms]
P4         [2400 MHz]: transition [                 305]
                       residency  [                4127 ms]
P5         [2300 MHz]: transition [                 597]
                       residency  [                7294 ms]
P6         [2000 MHz]: transition [                 196]
                       residency  [                1974 ms]
P7         [1900 MHz]: transition [                 219]
                       residency  [                1980 ms]
P8         [1800 MHz]: transition [                 236]
                       residency  [                2180 ms]
P9         [1700 MHz]: transition [                 571]
                       residency  [                5826 ms]
P10        [1500 MHz]: transition [                 313]
                       residency  [                2652 ms]
P11        [1400 MHz]: transition [                 622]
                       residency  [                6639 ms]
P12        [1200 MHz]: transition [                 288]
                       residency  [                2470 ms]
P13        [1100 MHz]: transition [                 866]
                       residency  [              134943 ms]
P14        [ 900 MHz]: transition [                 352]
                       residency  [                7652 ms]
P15        [ 800 MHz]: transition [                1955]
                       residency  [               31064 ms]

cpu id               : 4
total P-states       : 16
usable P-states      : 16
current frequency    : 2801 MHz
*P0        [2801 MHz]: transition [                7659]
                       residency  [             1366355 ms]
P1         [2800 MHz]: transition [                 375]
                       residency  [                4621 ms]
P2         [2700 MHz]: transition [                 351]
                       residency  [                4609 ms]
P3         [2600 MHz]: transition [                 734]
                       residency  [                9712 ms]
P4         [2400 MHz]: transition [                 302]
                       residency  [                3355 ms]
P5         [2300 MHz]: transition [                 896]
                       residency  [               10397 ms]
P6         [2000 MHz]: transition [                 375]
                       residency  [                3373 ms]
P7         [1900 MHz]: transition [                 413]
                       residency  [                3766 ms]
P8         [1800 MHz]: transition [                 435]
                       residency  [                3682 ms]
P9         [1700 MHz]: transition [                 982]
                       residency  [                8265 ms]
P10        [1500 MHz]: transition [                 561]
                       residency  [                4167 ms]
P11        [1400 MHz]: transition [                 939]
                       residency  [                8383 ms]
P12        [1200 MHz]: transition [                 475]
                       residency  [                3256 ms]
P13        [1100 MHz]: transition [                1244]
                       residency  [              139701 ms]
P14        [ 900 MHz]: transition [                 495]
                       residency  [                7422 ms]
P15        [ 800 MHz]: transition [                3988]
                       residency  [               49729 ms]

cpu id               : 6
total P-states       : 16
usable P-states      : 16
current frequency    : 2801 MHz
*P0        [2801 MHz]: transition [                7643]
                       residency  [             1358047 ms]
P1         [2800 MHz]: transition [                 395]
                       residency  [                4834 ms]
P2         [2700 MHz]: transition [                 360]
                       residency  [                4545 ms]
P3         [2600 MHz]: transition [                 689]
                       residency  [                9047 ms]
P4         [2400 MHz]: transition [                 306]
                       residency  [                3574 ms]
P5         [2300 MHz]: transition [                 931]
                       residency  [               10960 ms]
P6         [2000 MHz]: transition [                 396]
                       residency  [                3681 ms]
P7         [1900 MHz]: transition [                 444]
                       residency  [                3867 ms]
P8         [1800 MHz]: transition [                 461]
                       residency  [                3903 ms]
P9         [1700 MHz]: transition [                1050]
                       residency  [                9322 ms]
P10        [1500 MHz]: transition [                 529]
                       residency  [                4480 ms]
P11        [1400 MHz]: transition [                 878]
                       residency  [                7320 ms]
P12        [1200 MHz]: transition [                 401]
                       residency  [                2679 ms]
P13        [1100 MHz]: transition [                1222]
                       residency  [              140122 ms]
P14        [ 900 MHz]: transition [                 535]
                       residency  [                7692 ms]
P15        [ 800 MHz]: transition [                3956]
                       residency  [               46372 ms]

get-cpuidle-states_AC:

All C-states allowed

cpu id               : 0
total C-states       : 9
idle time(ms)        : 1554439
C0                   : transition [             3479673]
                       residency  [             2314624 ms]
C1                   : transition [             1160493]
                       residency  [              109212 ms]
C2                   : transition [             1943409]
                       residency  [              650137 ms]
C3                   : transition [               99182]
                       residency  [               83560 ms]
C4                   : transition [              134151]
                       residency  [              157930 ms]
C5                   : transition [               56669]
                       residency  [              157039 ms]
C6                   : transition [               82959]
                       residency  [              283669 ms]
C7                   : transition [                2229]
                       residency  [               11478 ms]
C8                   : transition [                 580]
                       residency  [               74244 ms]
pc2                  : [                5511 ms]
pc3                  : [               82235 ms]
cc3                  : [               80985 ms]
cc6                  : [              153370 ms]
cc7                  : [              520787 ms]

cpu id               : 2
total C-states       : 9
idle time(ms)        : 1542995
C0                   : transition [             4242952]
                       residency  [             2324903 ms]
C1                   : transition [             1304281]
                       residency  [              115551 ms]
C2                   : transition [             2507613]
                       residency  [              884852 ms]
C3                   : transition [              165263]
                       residency  [              130641 ms]
C4                   : transition [              199629]
                       residency  [              203294 ms]
C5                   : transition [               55030]
                       residency  [               78368 ms]
C6                   : transition [               10411]
                       residency  [               26708 ms]
C7                   : transition [                  92]
                       residency  [                 732 ms]
C8                   : transition [                 632]
                       residency  [               76845 ms]
pc2                  : [                5511 ms]
pc3                  : [               82235 ms]
cc3                  : [              125231 ms]
cc6                  : [              193869 ms]
cc7                  : [              180120 ms]

cpu id               : 4
total C-states       : 9
idle time(ms)        : 1576296
C0                   : transition [             4296326]
                       residency  [             2290655 ms]
C1                   : transition [             1444389]
                       residency  [              121010 ms]
C2                   : transition [             2395528]
                       residency  [              817208 ms]
C3                   : transition [              140334]
                       residency  [              115291 ms]
C4                   : transition [              203576]
                       residency  [              223103 ms]
C5                   : transition [               80314]
                       residency  [              136822 ms]
C6                   : transition [               26037]
                       residency  [               50102 ms]
C7                   : transition [                 481]
                       residency  [                5930 ms]
C8                   : transition [                5667]
                       residency  [               81773 ms]
pc2                  : [                5511 ms]
pc3                  : [               82235 ms]
cc3                  : [              111063 ms]
cc6                  : [              214647 ms]
cc7                  : [              270654 ms]

cpu id               : 6
total C-states       : 9
idle time(ms)        : 1584473
C0                   : transition [             4649187]
                       residency  [             2282412 ms]
C1                   : transition [             1501678]
                       residency  [              122826 ms]
C2                   : transition [             2714345]
                       residency  [              973280 ms]
C3                   : transition [              185898]
                       residency  [              140642 ms]
C4                   : transition [              202128]
                       residency  [              180666 ms]
C5                   : transition [               37441]
                       residency  [               40886 ms]
C6                   : transition [                3535]
                       residency  [                6834 ms]
C7                   : transition [                 113]
                       residency  [                 921 ms]
C8                   : transition [                4048]
                       residency  [               93429 ms]
pc2                  : [                5511 ms]
pc3                  : [               82235 ms]
cc3                  : [              134815 ms]
cc6                  : [              172040 ms]
cc7                  : [              141267 ms]

get-cpuidle-states_bat:

All C-states allowed

cpu id               : 0
total C-states       : 9
idle time(ms)        : 1554439
C0                   : transition [             3479673]
                       residency  [             2314624 ms]
C1                   : transition [             1160493]
                       residency  [              109212 ms]
C2                   : transition [             1943409]
                       residency  [              650137 ms]
C3                   : transition [               99182]
                       residency  [               83560 ms]
C4                   : transition [              134151]
                       residency  [              157930 ms]
C5                   : transition [               56669]
                       residency  [              157039 ms]
C6                   : transition [               82959]
                       residency  [              283669 ms]
C7                   : transition [                2229]
                       residency  [               11478 ms]
C8                   : transition [                 580]
                       residency  [               74244 ms]
pc2                  : [                5511 ms]
pc3                  : [               82235 ms]
cc3                  : [               80985 ms]
cc6                  : [              153370 ms]
cc7                  : [              520787 ms]

cpu id               : 2
total C-states       : 9
idle time(ms)        : 1542995
C0                   : transition [             4242952]
                       residency  [             2324903 ms]
C1                   : transition [             1304281]
                       residency  [              115551 ms]
C2                   : transition [             2507613]
                       residency  [              884852 ms]
C3                   : transition [              165263]
                       residency  [              130641 ms]
C4                   : transition [              199629]
                       residency  [              203294 ms]
C5                   : transition [               55030]
                       residency  [               78368 ms]
C6                   : transition [               10411]
                       residency  [               26708 ms]
C7                   : transition [                  92]
                       residency  [                 732 ms]
C8                   : transition [                 632]
                       residency  [               76845 ms]
pc2                  : [                5511 ms]
pc3                  : [               82235 ms]
cc3                  : [              125231 ms]
cc6                  : [              193869 ms]
cc7                  : [              180120 ms]

cpu id               : 4
total C-states       : 9
idle time(ms)        : 1576296
C0                   : transition [             4296326]
                       residency  [             2290655 ms]
C1                   : transition [             1444389]
                       residency  [              121010 ms]
C2                   : transition [             2395528]
                       residency  [              817208 ms]
C3                   : transition [              140334]
                       residency  [              115291 ms]
C4                   : transition [              203576]
                       residency  [              223103 ms]
C5                   : transition [               80314]
                       residency  [              136822 ms]
C6                   : transition [               26037]
                       residency  [               50102 ms]
C7                   : transition [                 481]
                       residency  [                5930 ms]
C8                   : transition [                5667]
                       residency  [               81773 ms]
pc2                  : [                5511 ms]
pc3                  : [               82235 ms]
cc3                  : [              111063 ms]
cc6                  : [              214647 ms]
cc7                  : [              270654 ms]

cpu id               : 6
total C-states       : 9
idle time(ms)        : 1584473
C0                   : transition [             4649187]
                       residency  [             2282412 ms]
C1                   : transition [             1501678]
                       residency  [              122826 ms]
C2                   : transition [             2714345]
                       residency  [              973280 ms]
C3                   : transition [              185898]
                       residency  [              140642 ms]
C4                   : transition [              202128]
                       residency  [              180666 ms]
C5                   : transition [               37441]
                       residency  [               40886 ms]
C6                   : transition [                3535]
                       residency  [                6834 ms]
C7                   : transition [                 113]
                       residency  [                 921 ms]
C8                   : transition [                4048]
                       residency  [               93429 ms]
pc2                  : [                5511 ms]
pc3                  : [               82235 ms]
cc3                  : [              134815 ms]
cc6                  : [              172040 ms]
cc7                  : [              141267 ms]

Configuration of my computer in BIOS P51:



The average frequency values for battery are half of AC, but it’s hard to say if it’s xenpm that is slowing down the CPU.

You can try the xen parameter cpufreq=xen:hwp it should allow the hardware to control the CPU frequency, maybe it works better with speedstep than the ACPI driver.

You could also try disabling intel speed step, maybe it’s better just to lets xenpm control things.

Hi,
I added cpufreq=xen:hwp to /etc/default/grub and then updated the grub configuration. Unfortunately, after restarting the computer, performance dropped on AC power and battery power. What else can I check and do? Does Dom0 still control the power supply in some way? What can limit the performance of my computer?

Have you tried disabling intel speedstep in the bios?

Hey,
I disabled intel speedstep and it didn’t do anything :confused: I tested, disabled and enabled various functions in BIOS and here are the results:

  • Charging all applications on AC power (after disabling only intel speedstep): 22s

  • Charging all applications on BAT power (after disabling only intel speedstep): 38s

  • Loading all applications after restoring “intel speedstep” and setting “thermal: balanced” (bat power): 38s

  • Loading all applications after restoring “intel speedstep” and setting “pci power management: disabled” (bat power): 41s

I have no idea what to do with this next :/.

[EDIT] PS. journalctl -f does not report anything when unplugging and plugging in the AC adapter.

@Sven have you ever had this problem on your Lenovo P51?

Have you tried the suggestions from the Lenovo forums?

https://forums.lenovo.com/t5/ThinkPad-P-and-W-Series-Mobile/P51-Heavy-Throttling-on-Battery/m-p/3693399

1 Like

Yes, but I think in my case switching to “max performance” in the BIOS fixed it. I don’t run Qubes OS on that machine anymore, so I can’t test it unfortunately.

Hi,
Thank you for your response. Sorry for the late reply to your questions.

The problem is actually related to the BIOS software - the computer started to work better after downgrading to version 1.52.
Additionally in the grub line “GRUB_CMDLINE_XEN_DEFAULT” I added the option “cpufreq=hwp:werbose”.

Ultimately, I try to use a wall outlet, but when I have to, I use battery power - with the above settings, I can function in a browser and notebook located in another vm. A laptop on battery power is 60% slower, and I guess you have to accept that.

Hi,
the problem was completely fixed after installing Qubes 4.2 :slight_smile: