-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
🌊 upstreamDepends on an upstream solve beyond starshipDepends on an upstream solve beyond starship🐛 bugSomething isn't working as expected.Something isn't working as expected.
Description
Bug Report
Current Behavior
Battery percentage number always less than actually at the same time
Expected Behavior
Battery percentage number equal to actual
Additional context/Screenshots
Possible Solution
Add a option to adjust:
[[battery.display]]
capacity_adjust +5Environment
- Starship version: 1.24.1
- zsh version: zsh 5.9 (x86_64-apple-darwin21.6.0)
- Operating system: Mac OS 12.7.6
- Terminal emulator: kitty 0.44.0
- Git Commit Hash: 378f3e4
- Branch/Tag: master
- Rust Version: rustc 1.91.1 (ed61e7d7e 2025-11-07)
- Rust channel: stable-aarch64-apple-darwin release
- Build Time: 2025-11-16 11:51:59 +00:00
Starship Configuration
command_timeout = 5000
format = '$all$battery$directory$character'
add_newline = false
[line_break]
disabled = true
[[battery.display]]
threshold = 100
style = "bold green"
[[battery.display]]
threshold = 60
style = "bold red"Metadata
Metadata
Assignees
Labels
🌊 upstreamDepends on an upstream solve beyond starshipDepends on an upstream solve beyond starship🐛 bugSomething isn't working as expected.Something isn't working as expected.