Skip to content
/ sbpv Public

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.

License

Notifications You must be signed in to change notification settings

goto-eof/sbpv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

screenshot

Build snap file

From the project root directory execute the following statements:

# 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;

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published