Skip to content

Commit 56739df

Browse files
committed
docs: update help message of "Quit" command
Signed-off-by: Charlie Chiang <[email protected]>
1 parent 13a4d8d commit 56739df

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pkg/gui/cmd.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,11 +345,15 @@ NOTE: if you are using Clamshell mode (using a Mac laptop with an external monit
345345
})
346346
menu.AddItem(disableItem)
347347
// Quit
348-
quitItem := appkit.NewMenuItemWithAction("Quit", "q", func(sender objc.Object) {
348+
quitItem := appkit.NewMenuItemWithAction("Quit Menubar App", "q", func(sender objc.Object) {
349349
logrus.Info("Quitting client")
350350
app.Terminate(nil)
351351
})
352-
quitItem.SetToolTip("Quit the batt client. Note that this does not stop the batt daemon, which will continue to run in the background. To stop the batt daemon, you can use the \"Disable Charging Limit\" command.")
352+
quitItem.SetToolTip(`Quit the batt menubar app, but keep the batt daemon running.
353+
354+
Since the batt daemon is still running, batt can continue to control charging. This is useful if you don't want the menubar icon to show up, but still want to use batt. When the client is not running, you can still control charging by using the command line interface (batt). To prevent the menubar app from starting at login, you can remove it in System Settings -> General -> Login Items & Extensions -> remove batt.app from the list (do NOT remove the batt daemon).
355+
356+
If you want to stop batt completely (menubar app and the daemon), you can use the "Disable Charging Limit" command. To uninstall, you can use the "Uninstall Daemon" command in the Advanced menu.`)
353357
menu.AddItem(quitItem)
354358

355359
menubarIcon.SetMenu(menu)

0 commit comments

Comments
 (0)