[Powerdevil] [Bug 441057] Support 60% Charge Limit threshold for Lenovo Ideapad and Legion laptops

2024-05-29 Thread Vinícius
https://bugs.kde.org/show_bug.cgi?id=441057

Vinícius  changed:

   What|Removed |Added

 Blocks|487745  |


Referenced Bugs:

https://bugs.kde.org/show_bug.cgi?id=487745
[Bug 487745] Charge Limit threshold on Lenovo Ideapad don't show correctly the
value of /sys/.../conservation_mode
-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 441057] Support 60% Charge Limit threshold for Lenovo Ideapad and Legion laptops

2024-05-29 Thread Vinícius
https://bugs.kde.org/show_bug.cgi?id=441057

Vinícius  changed:

   What|Removed |Added

 Blocks||487745


Referenced Bugs:

https://bugs.kde.org/show_bug.cgi?id=487745
[Bug 487745] Charge Limit threshold on Lenovo Ideapad don't show correctly the
value of /sys/.../conservation_mode
-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 441057] Support 60% Charge Limit threshold for Lenovo Ideapad and Legion laptops

2024-05-22 Thread Jakob Petsovits
https://bugs.kde.org/show_bug.cgi?id=441057

Jakob Petsovits  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/powerdevil/-/merge_reque |ma/powerdevil/-/commit/53f6
   |sts/248 |88de8eff37a52efed55b52d9e51
   ||f5217a185
 Resolution|--- |FIXED
   Version Fixed In||6.1
 Status|ASSIGNED|RESOLVED

--- Comment #6 from Jakob Petsovits  ---
Git commit 53f688de8eff37a52efed55b52d9e51f5217a185 by Jakob Petsovits, on
behalf of Fabian Arndt.
Committed on 23/05/2024 at 01:39.
Pushed by jpetso into branch 'master'.

Added setting for battery conservation mode (Lenovo)

The setting is not consistently persistent, it resets occasionally
after power loss and/or reboot. It might be a good idea to
implement a toggle for restoring the setting on reboot.

The path is fixed for now, as there is no evidence of a device
that differs from it. At least I wasn't able to find one after
a quick search.
FIXED-IN: 6.1

M  +16   -0daemon/chargethreshold_helper_actions.actions
M  +52   -0daemon/chargethresholdhelper.cpp
M  +4-0daemon/chargethresholdhelper.h
M  +6-0daemon/dbus/org.kde.Solid.PowerManagement.xml
M  +30   -0daemon/powerdevilcore.cpp
M  +4-0daemon/powerdevilcore.h
M  +117  -41   kcmodule/profiles/ExternalServiceSettings.cpp
M  +20   -0kcmodule/profiles/ExternalServiceSettings.h
M  +6-0kcmodule/profiles/PowerKCM.cpp
M  +3-0kcmodule/profiles/PowerKCM.h
M  +14   -2kcmodule/profiles/ui/GlobalConfig.qml

https://invent.kde.org/plasma/powerdevil/-/commit/53f688de8eff37a52efed55b52d9e51f5217a185

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 441057] Support 60% Charge Limit threshold for Lenovo Ideapad and Legion laptops

2024-05-21 Thread Bernd Steinhauser
https://bugs.kde.org/show_bug.cgi?id=441057

Bernd Steinhauser  changed:

   What|Removed |Added

 CC||li...@bernd-steinhauser.de

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 441057] Support 60% Charge Limit threshold for Lenovo Ideapad and Legion laptops

2024-01-01 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=441057

spamless.9v...@simplelogin.com changed:

   What|Removed |Added

 CC||spamless.9v5xj@simplelogin.
   ||com

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 441057] Support 60% Charge Limit threshold for Lenovo Ideapad and Legion laptops

2023-11-20 Thread postix
https://bugs.kde.org/show_bug.cgi?id=441057

postix  changed:

   What|Removed |Added

 CC||pos...@posteo.eu

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 441057] Support 60% Charge Limit threshold for Lenovo Ideapad and Legion laptops

2023-11-01 Thread Fabian Arndt
https://bugs.kde.org/show_bug.cgi?id=441057

--- Comment #5 from Fabian Arndt  ---
(In reply to FreeLibre from comment #4)
> https://github.com/johnfanv2/LenovoLegionLinux:

I found out about the repo yesterday and had a similar idea. I just don't know
if there is such information available.
Before bothering other people with feature request, I wanted to validate it
first.

Do you know if the Windows software features anything like this? For example
telling you the actual limit?
I have never had Windows installed on my laptop.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 441057] Support 60% Charge Limit threshold for Lenovo Ideapad and Legion laptops

2023-11-01 Thread FreeLibre
https://bugs.kde.org/show_bug.cgi?id=441057

--- Comment #4 from FreeLibre  ---
https://github.com/johnfanv2/LenovoLegionLinux:
> Lenovo Legion Linux (LLL) brings additional drivers and tools for Lenovo 
> Legion series laptops to Linux.
It allows you to control features like the fan curve, power mode, power limits,
rapid charging, and more. This has been achieved through reverse engineering
and disassembling the ACPI firmware, as well as the firmware and memory of the
embedded controller (EC).

@Fabian Arndt Could you make a feature request in the above repo?
Maybe they could extract the battery threshold from the embedded controller.

It will be submitted for upstream Linux after the 2022 and 2023 Legion models
are supported.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 441057] Support 60% Charge Limit threshold for Lenovo Ideapad and Legion laptops

2023-11-01 Thread Fabian Arndt
https://bugs.kde.org/show_bug.cgi?id=441057

Fabian Arndt  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/plas
   ||ma/powerdevil/-/merge_reque
   ||sts/248

--- Comment #3 from Fabian Arndt  ---
Quick update, the merge request has landed some weeks ago:
https://invent.kde.org/plasma/powerdevil/-/merge_requests/248

--

(In reply to FreeLibre from comment #2)
> That's a BIOS bug, can be fixed by reverting to an older version.

Hm.. I didn't know that, but I'm already working on a restore function:
https://invent.kde.org/plasma/powerdevil/-/merge_requests/253
The Thinkpad implementation also resets the charge thresholds. So it is a good
thing to have, nonetheless. I wonder why the behaviour should differ though.

> Only works if your machine has the proper full version that allows you to
> limit it to any value you want and not just "conservation mode on/off",
> which is not the case for the Legion series.

I know, but it would be nice to have some indicator. The driver does not offer
this information and there is no documentation from Lenovo.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 441057] Support 60% Charge Limit threshold for Lenovo Ideapad and Legion laptops

2023-10-20 Thread FreeLibre
https://bugs.kde.org/show_bug.cgi?id=441057

--- Comment #2 from FreeLibre  ---
> the conservation mode gets reset sometimes

That's a BIOS bug, can be fixed by reverting to an older version.

> know the target state of charge

Only works if your machine has the proper full version that allows you to limit
it to any value you want and not just "conservation mode on/off", which is not
the case for the Legion series.

Although you can likely guess it by how much it charges.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 441057] Support 60% Charge Limit threshold for Lenovo Ideapad and Legion laptops

2023-09-24 Thread Natalie Clarius
https://bugs.kde.org/show_bug.cgi?id=441057

Natalie Clarius  changed:

   What|Removed |Added

 CC||natalie_clar...@yahoo.de

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 441057] Support 60% Charge Limit threshold for Lenovo Ideapad and Legion laptops

2023-09-12 Thread Fabian Arndt
https://bugs.kde.org/show_bug.cgi?id=441057

Fabian Arndt  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED
   Assignee|plasma-b...@kde.org |fabian.ar...@root-core.net
 CC||fabian.ar...@root-core.net

--- Comment #1 from Fabian Arndt  ---
I worked on an implementation some time ago, but it needs further testing,
polish and maybe a port to Plasma 6.
It also lacks a feature that restores the setting on reboot, as the
conservation mode gets reset sometimes.

One further question: Is there any way to know the target state of charge? Or
can you set multiple targets?
My laptop (15IAH7H) charges to 80%, not 60%. This should be represented by the
UI, if possible.

I will open a merge request the coming days. I hope it makes the Plasma 6
release.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 441057] Support 60% Charge Limit threshold for Lenovo Ideapad and Legion laptops

2023-09-01 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=441057

Nate Graham  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=471900

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 441057] Support 60% Charge Limit threshold for Lenovo Ideapad and Legion laptops

2023-04-23 Thread FreeLibre
https://bugs.kde.org/show_bug.cgi?id=441057

FreeLibre  changed:

   What|Removed |Added

 CC||n...@kde.org

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 441057] Support 60% Charge Limit threshold for Lenovo Ideapad and Legion laptops

2023-04-23 Thread FreeLibre
https://bugs.kde.org/show_bug.cgi?id=441057

FreeLibre  changed:

   What|Removed |Added

 CC|n...@kde.org|

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 441057] Support 60% Charge Limit threshold for Lenovo Ideapad and Legion laptops

2023-04-23 Thread FreeLibre
https://bugs.kde.org/show_bug.cgi?id=441057

FreeLibre  changed:

   What|Removed |Added

 CC||mysignu...@proton.me

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 441057] Support 60% Charge Limit threshold for Lenovo Ideapad and Legion laptops

2022-03-31 Thread Martino Fontana
https://bugs.kde.org/show_bug.cgi?id=441057

Martino Fontana  changed:

   What|Removed |Added

 CC||tinozzo...@tutanota.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 441057] Support 60% Charge Limit threshold for Lenovo Ideapad and Legion laptops

2022-02-12 Thread Sam
https://bugs.kde.org/show_bug.cgi?id=441057

Sam  changed:

   What|Removed |Added

Version|unspecified |5.24.0

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 441057] Support 60% Charge Limit threshold for Lenovo Ideapad and Legion laptops

2022-02-12 Thread Sam
https://bugs.kde.org/show_bug.cgi?id=441057

Sam  changed:

   What|Removed |Added

 CC||thenerdiest...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 441057] Support 60% Charge Limit threshold for Lenovo Ideapad and Legion laptops

2021-08-17 Thread kde
https://bugs.kde.org/show_bug.cgi?id=441057

k...@kalvdans.no-ip.org  changed:

   What|Removed |Added

 CC||k...@kalvdans.no-ip.org

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 441057] Support 60% Charge Limit threshold for Lenovo Ideapad and Legion laptops

2021-08-17 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=441057

Nate Graham  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
 CC||k...@privat.broulik.de,
   ||n...@kde.org
   Severity|normal  |wishlist
Summary|60% Charge Limit threshold  |Support 60% Charge Limit
   |not implemented for Lenovo  |threshold for Lenovo
   |Ideapads and Legion |Ideapad and Legion laptops
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are watching all bug changes.