Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
= Dell XPS 13 9380 = | ||
|
||
== Battery drain when sleeping == | ||
|
||
The laptop uses the S2 sleep mode by default instead of S3, which leads to | ||
draining a lot of battery during sleep. | ||
|
||
See https://wiki.archlinux.org/index.php/Dell_XPS_13_(9370)#Power_Management | ||
and https://bugzilla.kernel.org/show_bug.cgi?id=199689#c3 for reference |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ lib, pkgs, ... }: | ||
|
||
{ | ||
imports = [ | ||
../../../common/pc/laptop | ||
../../../common/pc/laptop/acpi_call.nix | ||
]; | ||
|
||
# Force S3 sleep mode. See README.wiki for details. | ||
boot.kernelParams = [ "mem_sleep_default=deep" ]; | ||
|
||
# touchpad goes over i2c | ||
boot.blacklistedKernelModules = [ "psmouse" ]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters