Backend Service Errors
Backend service failed to start
Backend service failed to start
This error typically occurs when KVantage cannot initialize the backend daemon (kvand) that handles ACPI communication.Common causes:
- Root permissions were denied when prompted
- The password prompt was cancelled
- The backend binary failed to extract or execute
-
Restart the application and provide your password:
When prompted, enter your sudo password to allow the backend service to start.
-
Check if you have sudo privileges:
If this fails, your user account may not have sudo access. Contact your system administrator.
-
Check system logs for more details:
App must never be started as root
App must never be started as root
KVantage will refuse to start if launched directly as the root user or with sudo.Why this happens:
KVantage implements security-conscious privilege separation. Only the backend daemon runs with elevated privileges, while the GUI must run as your regular user.Solution:Don’t run KVantage like this:Do run it as your regular user:The application will prompt for your password internally when needed to start the backend service.
This security check is performed in
Main.kt:24 using the isRunningAsRoot() function, which checks user.name, USER, and SUDO_UID environment variables.Root permission issues
Root permission issues
If you’re repeatedly prompted for passwords or the backend fails to maintain elevated privileges:Check if polkit is configured correctly:Verify your user is in the wheel/sudo group:You should see Log out and back in for group changes to take effect.
wheel or sudo in the output. If not, add your user to the appropriate group:Java Runtime Issues
Java not found or wrong version
Java not found or wrong version
KVantage is a Java application that requires a Java Runtime Environment (JRE) to run.Check if Java is installed:If Java is not found, install it:Verify Java is in your PATH:If Java is installed but not found, you may need to add it to your PATH:Add this line to your
~/.bashrc or ~/.zshrc to make it permanent.Cannot execute JAR file
Cannot execute JAR file
If double-clicking the JAR file doesn’t work:Run from the terminal:Make the JAR executable (optional):Set default JAR file association:
Most file managers allow you to set Java as the default application for
.jar files. Right-click the file, select Properties or Open With, and choose your Java runtime.Hardware Compatibility
ACPI interface not available
ACPI interface not available
This error means the
acpi_call kernel module is not loaded or not available on your system.Solution:
See the ACPI Interface page for detailed instructions on installing and loading the acpi_call module.Not a Lenovo laptop
Not a Lenovo laptop
KVantage is specifically designed for Lenovo laptops and will not work on other brands.Why this limitation exists:If the output is not “LENOVO” or “Lenovo”, KVantage will not work on your system.
- KVantage uses Lenovo-specific ACPI calls to control battery thresholds, performance profiles, and rapid charge
- Other laptop manufacturers use different ACPI methods and memory addresses
- Running Lenovo ACPI commands on non-Lenovo hardware could cause undefined behavior
Alternatives for other brands:
- Dell: dell-command-configure
- HP: Linux Vendor Firmware Service
- Framework: framework-system76-power
- ThinkPad (some models): TLP
Features not working on my Lenovo laptop
Features not working on my Lenovo laptop
Not all Lenovo laptops expose the same ACPI features. Some budget models may not support:
- Custom battery threshold (80% threshold is the only option on some models)
- Rapid charge toggle
- Performance profile switching
Application Behavior
Application window doesn't appear
Application window doesn't appear
If KVantage starts but no window appears:Check if it’s running:Try running from the terminal:Look for any error messages in the terminal output.Check display server compatibility:
KVantage uses Compose Multiplatform for Desktop, which should work on both X11 and Wayland.If you’re on Wayland and experiencing issues, try forcing X11:
Settings not persisting after restart
Settings not persisting after restart
If your settings reset every time you restart KVantage:Check write permissions:
Settings are stored in your user config directory. Verify it’s writable:Look for error messages:
Run KVantage from the terminal and watch for file I/O errors when changing settings.Reset configuration (if corrupted):Then restart KVantage to regenerate default settings.
Getting More Help
If your issue isn’t covered here:- Check the ACPI Interface documentation for hardware-level troubleshooting
- Review the Permissions page for security and privilege-related issues
- Search existing GitHub issues
- Open a new issue with:
- Your Linux distribution and version
- Laptop model
- Full error messages or terminal output
- Steps to reproduce the problem