https://github.com/goto-eof/sbpv
Simple Battery Percentage Viewer is a snap Java application that shows the battery percentage. This project was born with the aim to try to create a snap starting from a Java jar application.
https://github.com/goto-eof/sbpv
snap snapcraft
Last synced: about 1 year ago
JSON representation
Simple Battery Percentage Viewer is a snap Java application that shows the battery percentage. This project was born with the aim to try to create a snap starting from a Java jar application.
- Host: GitHub
- URL: https://github.com/goto-eof/sbpv
- Owner: goto-eof
- License: mit
- Created: 2025-03-23T01:19:35.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-06-02T16:53:37.000Z (about 1 year ago)
- Last Synced: 2025-06-03T07:02:58.592Z (about 1 year ago)
- Topics: snap, snapcraft
- Language: Java
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple Battery Percentage Viewer (sbpv)
Snap Java application that shows the battery percentage. This project was born with the aim to try to create a snap
starting from a Swing Java application.
# Technologies and Tools
- Java 11 (SWING, Process)
- snapcraft
# Screenshot

# Build snap file
From the project root directory execute the following statements:
```bash
# remove old snap file
sudo rm sbpv_2.0.0_amd64.snap;
# clean and regenerate snap file
sudo snapcraft clean --use-lxd --verbose && sudo snapcraft --use-lxd --debug --verbose;
# unistall snap file
sudo snap remove sbpv;
# install the new generated snap file
sudo snap install sbpv_2.0.0_amd64.snap --dangerous --devmode && sbpv;
```