Bug 487745

Summary: Charge Limit threshold on Lenovo Ideapad don't show correctly the value of /sys/.../conservation_mode
Product: [Unmaintained] Powerdevil Reporter: Vinícius <viniciush.dev>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bugseforuns, butirsky, fabian.arndt, fouad.fakih, jpetso, kde, kde, linux, me, mysignup27, natalie_clarius, nate, postix, richrocksmyworld, spamless.9v5xj, thenerdiestguy, tinozzo123
Priority: NOR    
Version First Reported In: git-stable-Plasma/6.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Vinícius 2024-05-29 14:09:13 UTC
SUMMARY
selecting the charge limit and verifying that cat /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode shows 1,  rebooting deselect the option, but the /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode is still 1 as it should

STEPS TO REPRODUCE
1. select the charge limit threshold
2. reboot
3. the value get deselected but the system are still in conservation mode

EXPECTED RESULT
the gui option show correctly the value of conservation_mode

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.0.90
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1
Kernel Version: 6.9.0-64.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700U with Radeon Graphics
Memory: 7,1 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 82MF
System Version: IdeaPad 3 15ALC6
Comment 1 Vinícius 2024-06-20 13:31:16 UTC
now i don't know if it's an issue with the charge limit threshold or the System settings, because the same behavior(of deselecting the option) happen in the Login Screen (SDDM) tab :/
Comment 2 Jakob Petsovits 2024-06-24 20:05:32 UTC
Marking as duplicate of Bug 488954, which was just fixed (for 6.1.1) by that bug's reporter himself. I'm pretty sure it's the same root cause, feel free to reopen if Plasma 6.1.1 does not fix the issue. Thanks!

*** This bug has been marked as a duplicate of bug 488954 ***
Comment 3 Jakob Petsovits 2024-06-24 20:08:38 UTC
(In reply to Vinícius from comment #1)
> now i don't know if it's an issue with the charge limit threshold or the
> System settings, because the same behavior(of deselecting the option) happen
> in the Login Screen (SDDM) tab :/

If there's an issue with the SDDM tab, that would most likely be a different bug. Charge limits and SDDM don't share any of this code, and System Settings can't really be responsible as it sits on a different abstraction level for this kind of issue.