Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - Lid action on a laptop always resets to "Do nothing" even when set to "Sleep" before #1141

Open
4 tasks done
Vybo opened this issue Jul 8, 2024 · 4 comments
Open
4 tasks done
Labels
bug Something isn't working, let’s fix that

Comments

@Vybo
Copy link

Vybo commented Jul 8, 2024

Before continuing...

  • I agree to follow Atlas' Code of Conduct
  • I have searched our issue tracker to verify that the issue hasn't been reported already
  • I have searched the Atlas documentation beforehand for a solution
  • I am on the latest version of Atlas, and didn't do an unsupported upgrade

Description

I use Atlas 0.4.0 on a Laptop. I would expect that when I set the closing lid action to "Sleep", it would stay that way.
However, after each restart (or even boot from hibernation), the action is reset to "Do nothing".

I have not customized anything besides the default Atlas setup. Power savings are set to default/enabled.

Steps to reproduce

  1. Set the close lid action to "Sleep"
  2. Reboot Windows
  3. Check what the closing lid action is set to ("Do nothing" instead of "Sleep")

image

Expected behavior

I would expect the setting to retain the set value.

Actual behavior

The setting loses the set value after each Windows reboot.

Atlas Edition

Atlas for Windows 11 23H2

Desktop information

Lenovo Thinkpad T15g Gen 1

Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
32 GB RAM
Mobile RTX2070S Max-Q (31.0.15.3859; 538.59); Intel UHD (30.0.101.1122)
OS on Hynix 512GB SSD, Secondary SSD: WD SN580 2 TB

Additional content

No response

@Vybo Vybo added the bug Something isn't working, let’s fix that label Jul 8, 2024
@he3als he3als moved this to Waiting for reproduction in Atlas Playbook Jul 14, 2024
@he3als he3als added the likely unrelated to atlas Issues likely unrelated to Atlas label Jul 18, 2024
@ghost
Copy link

ghost commented Aug 30, 2024

Its Atlas @he3als I have the same issue

@Vybo try restoring the powersaving settings:

https://raw.githubusercontent.com/Atlas-OS/Atlas/main/src/playbook/Executables/AtlasModules/Scripts/ScriptWrappers/DefaultPowerSaving.ps1

@he3als he3als removed the likely unrelated to atlas Issues likely unrelated to Atlas label Sep 2, 2024
@Vybo
Copy link
Author

Vybo commented Sep 3, 2024

Its Atlas @he3als I have the same issue

@Vybo try restoring the powersaving settings:

https://raw.githubusercontent.com/Atlas-OS/Atlas/main/src/playbook/Executables/AtlasModules/Scripts/ScriptWrappers/DefaultPowerSaving.ps1

@Destroyarr Thanks. Did it help you? I have Power saving set to default/enabled as stated in the initial issue and I have never run the other option. Should I just run this anyway?

@ghost
Copy link

ghost commented Sep 3, 2024

@Vybo Yes Save to Desktop, run PowerShell as admin and run that specific .ps1 file. DefaultPowerSaving.ps1

I just did it just now, and in Settings - at the bottom, I have Lid closing options as well as I have power scheme control.

The laptop is running cooler and quieter now.

Ideally I will find out how to close the lid and have the screen turn off without the laptop going to sleep. I suspect I will have to use PowerShell and regedit for that.

The build I'm using is the 24H2 26100.1591 however I will switch to the Beta channel as I suspect that one has more laptop-y optimizations.

@ghost
Copy link

ghost commented Sep 5, 2024

@Vybo I lied it didnt work sorry I was convinced it would revert but something was not reverted and now I don't have the Sleep function of the laptop. And lid-closing is not detected either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working, let’s fix that
Projects
Status: Waiting for reproduction
Development

No branches or pull requests

2 participants