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

About sleep #16

Open
akwangl opened this issue Mar 21, 2024 · 6 comments
Open

About sleep #16

akwangl opened this issue Mar 21, 2024 · 6 comments

Comments

@akwangl
Copy link

akwangl commented Mar 21, 2024

I solved a serious problem with device battery drain after sleep。

Wake up always shows 100%

After waking up, the battery display is always 100%,I had to reboot the computer to get it to display properly to determine the actual power consumption
唤醒的电源

The amount of power displayed after restarting the computer

重启电源显示

Test method

I turned on S3 sleep mode in the AMD extended BIOS

@qhuyduong
Copy link
Owner

This is the bios bug. It also happens to Linux.
It looks like S3 is not well supported on this laptop.
I made a patch to DSDT to fix this for Linux, but it's not applicable to OpenCore because OpenCore doesn't support DSDT patching.
qhuyduong/redmibook-pro-15s-2021-acpi@514357b

@akwangl
Copy link
Author

akwangl commented Mar 21, 2024

I'll try adding him to the ACPI

@akwangl
Copy link
Author

akwangl commented Mar 21, 2024

This DSDT is really not in play

@akwangl
Copy link
Author

akwangl commented Mar 21, 2024

This patch is used to simulate the desktop?

photo_2024-03-21_17-43-57

@JokerAB
Copy link

JokerAB commented May 3, 2024

This is the bios bug. It also happens to Linux. It looks like S3 is not well supported on this laptop. I made a patch to DSDT to fix this for Linux, but it's not applicable to OpenCore because OpenCore doesn't support DSDT patching. qhuyduong/redmibook-pro-15s-2021-acpi@514357b

After waking up from s3 sleep, the screen cannot be turned off when closing the lid. Is there any way to fix this problem? It seems to be the same in other systems.

@akwangl
Copy link
Author

akwangl commented Sep 4, 2024

This EFI configuration with the ACPI patch can enable S3 sleep, but connecting a second C port will wake it up instantly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants