Skip to content

asus: fix charge-upto script #1525

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 1 commit into from
Jul 21, 2025
Merged

asus: fix charge-upto script #1525

merged 1 commit into from
Jul 21, 2025

Conversation

shinishiho
Copy link
Contributor

Description of changes

Added shebang and fix script argument. Fixed:

  • Error while executing:
/run/current-system/sw/bin/charge-upto: line 1: /sys/class/power_supply/BAT?/charge_control_end_threshold: No such file or directory
  • Incorrect argument: ${0}is the script name.
Things done
  • Tested the changes in your own NixOS Configuration
  • Tested the changes end-to-end by using your fork of nixos-hardware and
    importing it via <nixos-hardware> or Flake input

@Mic92 Mic92 added this pull request to the merge queue Jul 21, 2025
Merged via the queue into NixOS:master with commit cc66fdd Jul 21, 2025
3 checks passed
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.

2 participants