For package power states lower than PC3, see Remarks. Works out of the box with r8169 module, also with r8168Īdd the boot option acpi_osi= for hotkeys and backlight control to work. Intel HD Graphics 4400, works well with xf86-video-intel UEFI secure boot does not pass, might need work. Grep bugs /proc/cupinfo = bugs: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass Not tested in archiso, works well with NetworkManager UEFI secure boot key rejected, had to disable in BIOS. Grep bugs /proc/cupinfo = cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit Works (PulseAudio), shows many non-existent sinks (HDMI 1/2/3/4/5 in various surround configs, only HDMI 2 exists)Įst ~6hrs, unverified, powertop and tlp not yet leveraged Hibernate working with swap.įn keys default behaviour is F1,F2 etc (must unset by Fn+Esc to use alternative functions) Battery charge threshold can be set using systemd service. Works - tested with iwctl, connman, and NetworkMangerīattery lasts around 4-5hrs. Many entries also need language improvements (Discuss in Talk:Laptop/ASUS) Vivobook Model version Reason: Generic info not specific to laptops should be removed and instead of creating super long, messy entries there should be a dedicated page for the laptop. usr/lib/systemd/system-sleep/battery-threshold.sh #!/bin/shĮcho 60 > /sys/class/power_supply/BAT0/charge_control_end_thresholdĭo not forget to make the script executable. # systemctl enable creating a script as described in Power management#Hooks in /usr/lib/systemd/system-sleep, use something similar to: if using Power management#Generic service template, enable an instance of the created template using: In order to re-execute the service after hibernation, use one of the methods described in Power management#Sleep hooks.Į.g. While this setting will persist after suspending to RAM, it will be reset when resuming from hibernation. etc/udev/rules.d/les ACTION="add", KERNEL="asus-nb-wmi", RUN+="/bin/bash -c 'echo 60 > /sys/class/power_supply/BAT?/charge_control_end_threshold'" Persist after hibernation Create a udev rule for asus-nb-wmi to set the battery's charge threshold: It is added to the sysfs(5) directory by the asus-nb-wmi kernel module. The battery's charge_control_end_threshold power supply class attribute does not initially exist.
Note: As of, this is the only functional workaround as neither path-based activation or systemd-tmpfiles were working.