Bonjour,
J'ai depuis plusieurs semaines un Asus BX425EA avec Ubuntu 20.04 LTS et Windows 10 en dual boot. J'ai récemment remarqué que la batterie se décharge vite lorsque l'ordinateur est en veille : elle perd environ
12% en 10h de veille. Ça me semble beaucoup ! (À titre de comparaison, avec mon ancien Macbook pro, après 7 ans d'utilisation de la batterie, elle perdait moins de 10% en 20h de veille).
Je suis donc allé voir le type de veille effectuée :
cat /sys/power/mem_sleep
Et je vois que c'est s2idle :
[s2idle] deep
Je me dis que la décharge rapide de la batterie peut venir de là, donc j'ai voulu essayé le mode veille profonde :
echo deep > /sys/power/mem_sleep
s2idle [deep]
Puis, je met s l'ordinateur en veille, mais quand je le réveille, tout ne se passe pas bien : le son ne fonctionne plus, les touches F1-F12 sont bloquées comme si la touche FN était toujours active sans que j'ai la possibilité de changer...
Pour essayer de voir ce qu'il se passait, j'ai fait après le réveil :
dmesg | tail -50
Et voilà ce qu'il me renvoie, à partir de la mise en veille profonde :
[41470.833879] PM: suspend entry (deep)
[41470.838908] Filesystems sync: 0.005 seconds
[41470.956948] Freezing user space processes ... (elapsed 0.184 seconds) done.
[41471.141841] OOM killer disabled.
[41471.141842] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[41471.143416] printk: Suspending console(s) (use no_console_suspend to debug)
[41472.035587] ACPI: EC: interrupt blocked
[41472.176159] ACPI: Preparing to enter system sleep state S3
[41472.202569] ACPI: EC: event blocked
[41472.202570] ACPI: EC: EC stopped
[41472.202570] PM: Saving platform NVS memory
[41472.202586] Disabling non-boot CPUs ...
[41472.204349] smpboot: CPU 1 is now offline
[41472.214623] smpboot: CPU 2 is now offline
[41472.218258] IRQ 202: no longer affine to CPU3
[41472.219272] smpboot: CPU 3 is now offline
[41472.223921] smpboot: CPU 4 is now offline
[41472.226682] IRQ 40: no longer affine to CPU5
[41472.226696] IRQ 124: no longer affine to CPU5
[41472.227763] smpboot: CPU 5 is now offline
[41472.230488] IRQ 27: no longer affine to CPU6
[41472.230516] IRQ 125: no longer affine to CPU6
[41472.230541] IRQ 195: no longer affine to CPU6
[41472.231619] smpboot: CPU 6 is now offline
[41472.237120] IRQ 126: no longer affine to CPU7
[41472.237133] IRQ147: set affinity failed(-22).
[41472.237142] IRQ 148: no longer affine to CPU7
[41472.237150] IRQ 149: no longer affine to CPU7
[41472.237161] IRQ 164: no longer affine to CPU7
[41472.238290] smpboot: CPU 7 is now offline
[41472.248314] ACPI: Low-level resume complete
[41472.248424] ACPI: EC: EC started
[41472.248425] PM: Restoring platform NVS memory
[41472.249460] Enabling non-boot CPUs ...
[41472.249493] x86: Booting SMP configuration:
[41472.249494] smpboot: Booting Node 0 Processor 1 APIC 0x2
[41472.250387] CPU1 is up
[41472.250419] smpboot: Booting Node 0 Processor 2 APIC 0x4
[41472.251408] CPU2 is up
[41472.251432] smpboot: Booting Node 0 Processor 3 APIC 0x6
[41472.252443] CPU3 is up
[41472.252468] smpboot: Booting Node 0 Processor 4 APIC 0x1
[41472.253070] smpboot: Scheduler frequency invariance went wobbly, disabling!
[41472.253605] CPU4 is up
[41472.253624] smpboot: Booting Node 0 Processor 5 APIC 0x3
[41472.254515] CPU5 is up
[41472.254532] smpboot: Booting Node 0 Processor 6 APIC 0x5
[41472.255543] CPU6 is up
[41472.255561] smpboot: Booting Node 0 Processor 7 APIC 0x7
[41472.256614] CPU7 is up
[41472.260955] ACPI: Waking up from system sleep state S3
[41472.264718] ACPI: EC: interrupt unblocked
[41472.582944] ACPI: EC: event unblocked
[41472.700362] pcieport 10000:e0:1d.0: can't derive routing for PCI INT A
[41472.700364] nvme 10000:e1:00.0: PCI INT A: no GSI
[41472.708262] nvme nvme0: 8/0/0 default/read/poll queues
[41472.718410] usb usb1: root hub lost power or was reset
[41472.718412] usb usb2: root hub lost power or was reset
[41472.965131] usb 3-10: reset full-speed USB device number 4 using xhci_hcd
[41473.241136] usb 3-6: reset high-speed USB device number 3 using xhci_hcd
[41473.519878] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[41473.520155] acpi LNXPOWER:03: Turning OFF
[41473.520172] OOM killer enabled.
[41473.520172] Restarting tasks ...
[41473.521466] Bluetooth: hci0: Bootloader revision 0.4 build 0 week 30 2018
[41473.522403] done.
[41473.523378] Bluetooth: hci0: Device revision is 2
[41473.523379] Bluetooth: hci0: Secure boot is enabled
[41473.523379] Bluetooth: hci0: OTP lock is enabled
[41473.523380] Bluetooth: hci0: API lock is enabled
[41473.523380] Bluetooth: hci0: Debug lock is disabled
[41473.523381] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[41473.523384] Bluetooth: hci0: Found device firmware: intel/ibt-19-0-4.sfi
[41473.534161] thermal thermal_zone9: failed to read out thermal zone (-61)
[41473.535721] PM: suspend exit
[41475.303000] Bluetooth: hci0: Waiting for firmware download to complete
[41475.303791] Bluetooth: hci0: Firmware loaded in 1742012 usecs
[41475.303799] Bluetooth: hci0: Waiting for device to boot
[41475.318944] Bluetooth: hci0: Device booted in 14792 usecs
[41475.318949] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-19-0-4.ddc
[41475.320855] Bluetooth: hci0: Applying Intel DDC parameters completed
[41475.321911] Bluetooth: hci0: Firmware revision 0.0 build 121 week 36 2020
[41477.060234] wlo1: authenticate with f4:6b:ef:5e:63:ce
[41477.061961] wlo1: send auth to f4:6b:ef:5e:63:ce (try 1/3)
[41477.086921] wlo1: authenticated
[41477.088675] wlo1: associate with f4:6b:ef:5e:63:ce (try 1/3)
[41477.094389] wlo1: RX AssocResp from f4:6b:ef:5e:63:ce (capab=0x1411 status=0 aid=1)
[41477.099473] wlo1: associated
[41477.124897] IPv6: ADDRCONF(NETDEV_CHANGE): wlo1: link becomes ready
[41477.132120] wlo1: Limiting TX power to 20 (20 - 0) dBm as advertised by f4:6b:ef:5e:63:ce
À ce stade, ça dépasse ma compréhension des choses, quelqu'un saurait-il m'aider ?
Merci de votre aide