Skip to content

Commit 0376e98

Browse files
committed
update readme
1 parent 630488a commit 0376e98

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/PolkitBug.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,18 @@ permalink: /polkitbug
3131

3232
## Workaround: Use sudo Instead of pkexec
3333

34-
To resolve this issue, replace `pkexec` with `sudo` for commands setting the threshold. This requires creating an exemption to allow `batteryhealthchargingctl` to run with `sudo` without requiring a password. This can be done **manually** or using the provided **bash script**.
34+
To resolve this issue, replace `pkexec` with `sudo` for commands setting the threshold. This requires creating an exemption to allow `batteryhealthchargingctl` to run with `sudo` without requiring a password.
35+
This can be done:
36+
* **Using bash script provided**.
37+
or
38+
* **Do it yourself by editing sudo config files and extension files manually**
3539

3640
<br>
3741

3842
## Workaround Using the Script
3943

40-
[Download script](https://github.com/maniacx/Battery-Health-Charging/blob/Documentation/battery-health-charging-resources/downloads/bhc_patch.zip){: .btn .btn-blue .button2-fixed-width}<br>
44+
[Download script](https://raw.githubusercontent.com/maniacx/Battery-Health-Charging/Documentation/battery-health-charging-resources/downloads/bhc_patch.zip){: .btn .btn-blue .button2-fixed-width}<br>
45+
4146

4247
### Note
4348
Some systems, like Debian, do not add users to the `sudo` group by default. If prompted, use `su` instead of `sudo` to update the configuration.

0 commit comments

Comments
 (0)