Im experimenting with systemd-logind settings on Lenovo ThinkPad X270 (secondary battery)
The Lenovo ThinkPad X270 computer has a secondary battery that the system should behave differently when powered by external power versus battery power.
Key Concepts
- systemd-logind: System and session management daemon.
- Lenovo ThinkPad X270: A laptop model.
- secondary battery: Additional power source for the laptop.
- external power: Power supplied through an AC adapter or USB cable.
- battery power: Power supplied by the laptop's built-in battery.
Procedure
To experiment with systemd-logind settings on the Lenovo ThinkPad X270, follow these steps:
- Identify the power source (external power or battery power).
- Modify the systemd-logind configuration file, usually located at /etc/systemd/logind.conf.
- Restart the systemd-logind service to apply the changes.
- Test the system behavior with the new configuration.
Code Blocks
# /etc/systemd/logind.conf
# ...
HandleLidSwitch=ignore
HandlePowerKey=ignore
# ...
This article provides an overview of experimenting with systemd-logind settings on a Lenovo ThinkPad X270 laptop, focusing on the secondary battery and differentiating behavior between external power and battery power.
References
- Books:
- Bovet, D., & Carlson, E. (2014). System administration handbook. O'Reilly Media, Inc.
- Articles:
- Online Resources: