Skip to content

Add commands to get/ set charge limit and FP brightness #9

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

Merged
merged 3 commits into from
Oct 25, 2023

Conversation

JohnAZoidberg
Copy link
Member

@JohnAZoidberg JohnAZoidberg commented Oct 23, 2023

The minimum limit cannot be changed.

Tested on platforms:

  • Intel 12th Gen with BIOS 3.07
  • AMD 13th inch with BIOS 3.04

Tested with drivers:

  • portio on UEFI Shell
  • portio on Linux
  • cros_ec on Linux

Examples:

> framework_tool --driver portio --charge-limit
Minimum 0%, Maximum 100%

> framework_tool --charge-limit 90
Minimum 0%, Maximum 90%

> framework_tool --driver portio --fp-brightness
Fingerprint LED Brightness: 55%

> framework_tool --fp-brightness low
Fingerprint LED Brightness: 15%

Fixes #5

The minimum limit cannot be changed.

Tested on platforms:
- Intel 12th Gen with BIOS 3.07
- AMD 13th inch with BIOS 3.04

Tested with drivers;
- portio on UEFI Shell
- portio on Linux
- cros_ec on Linux

Examples:

```
> framework_tool --driver portio --charge-limit
Minimum 0%, Maximum 100%

> framework_tool --charge-limit 90
Minimum 0%, Maximum 90%
```

Signed-off-by: Daniel Schaefer <dhs@frame.work>
Tested on platforms:
- Intel 12th Gen with BIOS 3.07
- AMD 13th inch with BIOS 3.04

Tested with drivers;
- portio on UEFI Shell
- portio on Linux
- cros_ec on Linux

Examples:

```
> framework_tool --driver portio --fp-brightness
Fingerprint LED Brightness: 55%

> framework_tool --fp-brightness low
Fingerprint LED Brightness: 15%
```

Signed-off-by: Daniel Schaefer <dhs@frame.work>
Signed-off-by: Daniel Schaefer <dhs@frame.work>
@JohnAZoidberg JohnAZoidberg changed the title Add command to get and set charge limit Add commands to get/ set charge limit and FP brightness Oct 23, 2023
@JohnAZoidberg JohnAZoidberg merged commit d9fa641 into main Oct 25, 2023
@JohnAZoidberg JohnAZoidberg deleted the charge-limit branch October 25, 2023 07:17
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

Successfully merging this pull request may close these issues.

Add a setting to charge to only 80%, then stop charging
1 participant