Mentor
4dc1aceb54
🐛 fix annpying includes bug
2025-11-19 16:42:37 +01:00
Mentor
5366f40b41
📚 Little more contribution info
2025-10-21 19:27:32 +02:00
Mentor
d066750978
📚 be very annoying about telling people to check if their issue was already reported
2025-10-21 19:23:48 +02:00
Mentor
bf721d19ad
🐛 Do not call visudo with sudo in update script
2025-10-21 19:09:32 +02:00
Mentor
e9993d4777
🔼 Bmp cli version to trigger updates
2025-10-21 19:03:08 +02:00
Mentor Palokaj
f8cd2cefb0
Merge pull request #398 from seefood/feature/maintain-range
...
Add percentage range support to maintain command
2025-10-21 19:01:48 +02:00
Mentor Palokaj
81b96f488f
Merge pull request #388 from duetocode/main
...
Support Tahoe SMC keys with existing smc binary
2025-10-21 18:37:33 +02:00
Ira Abramov
f42628e609
feat: add percentage range support to maintain command
...
- Add valid_percentage_range() validation function
- Validates NUMBER-NUMBER format
- Ensures lower < upper
- Enforces lower >= 10 and upper <= 100
- No maximum range spread limit
- Update maintain_synchronous to handle ranges
- Parse range into lower_bound and upper_bound
- Enable charging when battery < lower_bound
- Disable charging when battery >= upper_bound
- Fully backward compatible with single values
- Update help message and README
- Add examples: 'battery maintain 70-80'
- Document range syntax alongside single values
- Maintain daemon persists ranges across reboots
- Stores range format (e.g., '70-80') in maintain.percentage
- Recovery logic auto-detects and restores ranges
Tested:
- Single value (80) works as before
- Valid ranges (70-80) work correctly
- Invalid ranges rejected (80-70, 5-15, 95-105, 70-70)
- Status display shows ranges properly (70% - 80%)
CLI-only feature. GUI support deferred to future work.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-21 13:10:08 +03:00
Ira Abramov
08031fb677
chore: explicitly ignore CLAUDE.md in gitignore
...
The .* pattern already covers .claude/ directory, but explicitly adding
CLAUDE.md to ensure Claude Code configuration files are not committed.
Also re-allowing .github and .vscode directories that should be tracked.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-21 11:25:34 +03:00
Bowie
362a2dd47f
Merge pull request #1 from base47/main
...
Minor fixes to Tahoe SMC keys support
2025-10-05 14:47:54 +08:00
Bowie
1e60c8b20d
Remove the '.sh' extension from the visudo call.
2025-10-05 14:45:50 +08:00
Bowie
faa27adc48
Use sudo for smc commands when reading values
2025-10-05 14:44:56 +08:00
user
30768087bc
Move smc capability logging out of global scope so it does not interfere with status_csv command
2025-10-04 02:57:53 +02:00
user
556565c145
Use js4jiang5's approach to detect supported smc keys instead of detect_smc_capabilities() func
2025-10-04 02:01:44 +02:00
user
d3e9ea7678
Update visudo declarations along with the battery script
2025-10-04 01:11:01 +02:00
user
dbfc1bf095
Suppress the output of detect_smc_capabilities() in functions which return status string
2025-10-04 01:08:07 +02:00
user
49f5daaa45
Use js4jiang5's implementation of smc_read_hex() to fix smc output parsing error
2025-10-04 01:05:47 +02:00
user
0e5b7b04d7
Enable passwordless 'sudo smc ...' execution for new Tahoe SMC keys
2025-10-03 16:33:15 +02:00
Leon
20258a1690
Support Tahoe SMC keys with existing smc binary
2025-10-01 12:40:41 +08:00
Mentor
9db24e4dad
Explicitly ignore dotfiles in root as well
2025-06-30 14:19:21 +02:00
Mentor
4e48feaa8f
✨ deploy version that fixes bug for many users
v1.2.3
2025-06-26 11:24:02 +02:00
Mentor Palokaj
d30344f5b5
Merge pull request #346 from andostronaut/docs/add-calibrate-to-readme
...
docs: add calibrate command to readme doc
2025-06-26 11:14:12 +02:00
Ando
8eed78a8ca
docs: add calibrate command to readme doc
2025-05-18 10:06:26 +03:00
Mentor Palokaj
89bedc1136
Merge pull request #292 from alexkarpitski/main
...
🐛 first check for recover setting, then valid_percentage
2024-07-09 16:16:32 +02:00
Alex Karpitski
184c1ad170
increment version
2024-07-08 12:05:03 +02:00
Alex Karpitski
6d624a1a5b
🐛 first check for recover setting, then valid_percentage
2024-07-08 11:53:01 +02:00
Mentor
27c55c7396
🐛 fix issue where "stop" did not reenable charging
2024-07-01 10:24:57 +02:00
Mentor Palokaj
d36b1b945b
Merge pull request #288 from rguca/voltage_limit
...
Voltage limit - bugfix
2024-06-30 21:58:22 +02:00
Rene
2c29c44a83
increase version
2024-06-30 21:48:55 +02:00
Rene
f04f9113d7
fix whitespaces
2024-06-30 10:10:17 +02:00
Rene
3ad9113bdd
bugfix and refactoring
2024-06-30 10:02:57 +02:00
Mentor
affb7f029e
🐛 permissions bugfix
v1.2.2
2024-06-28 12:27:07 +02:00
Mentor
6e3a6400bd
✨ new GUI release
2024-06-28 12:06:10 +02:00
Mentor
1e0094adc6
🐛 Fix validation typo
2024-06-28 11:36:34 +02:00
Mentor
dc5642d9d2
🐛 Fix validation typo
2024-06-28 11:36:27 +02:00
Mentor Palokaj
0f2e551cca
Merge pull request #259 from lcsvcn/feat/update-libs
...
Update libs and added version 1.1.7
2024-06-28 11:32:31 +02:00
Mentor Palokaj
bdcc29a2af
Merge branch 'main' into feat/update-libs
2024-06-28 11:32:25 +02:00
Mentor
0be64aeb33
🐛 fix syntax errors introduced in pull request merged
2024-06-28 11:30:00 +02:00
Mentor Palokaj
bafebb7468
Merge pull request #266 from Chr1s70ph/general_bugfixes
...
General bugfixes
2024-06-28 11:16:44 +02:00
Mentor Palokaj
1a58456774
Merge branch 'main' into general_bugfixes
2024-06-28 11:16:23 +02:00
Mentor Palokaj
8d531ff765
Merge pull request #169 from KyrosWeb/main
...
Battery calibration
2024-06-28 11:10:40 +02:00
Mentor Palokaj
9070edfa98
Merge branch 'main' into main
2024-06-28 11:10:30 +02:00
Mentor Palokaj
43b369e6db
Merge pull request #184 from ibrado/enhancement/check-ac
...
Update MagSafe LED if threshold reached when AC charger is connected
2024-06-28 11:07:17 +02:00
Mentor Palokaj
35d6e1c3f1
Merge pull request #224 from rguca/voltage_limit
...
Voltage limit
2024-06-28 11:05:51 +02:00
Mentor Palokaj
3105fa35c9
Merge pull request #248 from gotgenes/reorder-paths
...
Reorder paths.
2024-06-28 11:04:16 +02:00
Mentor Palokaj
48cd71e5f3
Merge pull request #272 from johnmcdowell/readme-install-clarification
...
README installation clarification for homebrew users expecting `brew install` to finish CLI installation
2024-06-28 10:52:05 +02:00
Mentor Palokaj
51bd20c466
Merge pull request #274 from ryanburnett/main
...
Update README.md
2024-06-28 10:50:03 +02:00
Rene
af2e61ebc4
remove testing code
2024-06-19 22:11:26 +02:00
Rene
827f271eb6
added voltage maintenance to daemon
2024-06-19 22:07:09 +02:00
Rene
fa2028d2e3
add support for ',' decimal seperator
2024-06-19 17:20:14 +02:00