this post was submitted on 06 Oct 2026
152 points (94.2% liked)

Linux

15143 readers
238 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 3 years ago
MODERATORS
 

In 8 hours it uses 20% of the battery. When Windows or Mac are put to sleep, the damn things can sleep for a week! This is the case with Linux on multiple laptops.

Is there some kind of manipulation going by ring -1 that detects Linux is running? Is Linux not respecting some procedure and kissing a step?

you are viewing a single comment's thread
view the rest of the comments
[–] the_riviera_kid@lemmy.world 2 points 1 day ago* (last edited 1 day ago)

Assuming you have windows, run this in admin powershell It should give you power options you didn't even know existed.

Apparently the formatting gets all screwed up with the default UI and I am too stupid to figure out how to fix it.

Its appears properly if you use old.lemmy.world though.

Copy and paste everything below this line .-------------------------.

$sting77 = "HKLM\SYSTEM\CurrentControlSet\Control\Power\PowerSettings" $querylist = reg query $sting77 foreach ($regfolder in $querylist){ $querylist2 = reg query $regfolder

foreach($2ndfolder in $querylist2){

$active2 = $2ndfolder -replace "HKEY_LOCAL_MACHINE" , "HKLM:"
Get-ItemProperty -Path $active2
Set-ItemProperty -Path "$active2" -Name "Attributes" -Value '2'
}

$active = $regfolder -replace "HKEY_LOCAL_MACHINE" , "HKLM:"
Get-ItemProperty -Path $active
Set-ItemProperty -Path "$active" -Name "Attributes" -Value '2'

}