{"id":6066,"date":"2016-07-23T08:43:32","date_gmt":"2016-07-23T08:43:32","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=6066"},"modified":"2016-07-23T08:43:32","modified_gmt":"2016-07-23T08:43:32","slug":"battery-monitor-notify-charging-status","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2016\/07\/battery-monitor-notify-charging-status\/","title":{"rendered":"Battery Monitor &#8211; Notify Charging, Discharging, Fully Charged Status"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/07\/battery-monitor-icon.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/07\/battery-monitor-icon.png\" alt=\"Battery Monitor\" width=\"245\" height=\"250\" class=\"alignleft size-full wp-image-6067\" \/><\/a><\/p>\n<p>Battery Monitor is a simple tool written in Python3 and PyGTK3. It notifies battery status of charging, discharging, fully charged through desktop notifications. When the battery is below 10%, it plays a sound and pops up a notification bubble.<\/p>\n<p>No command typing on terminal, no extra indicator, the tool just pop notifications when the battery status changes.<\/p>\n<table style=\"border:none;\">\n<tr>\n<td style=\"border:none;\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/07\/charing.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/07\/charing-280x174.jpg\" alt=\"Battery charging\" width=\"280\" height=\"174\" class=\"aligncenter size-medium wp-image-6072\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/07\/charing-280x174.jpg 280w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/07\/charing.jpg 542w\" sizes=\"auto, (max-width: 280px) 100vw, 280px\" \/><\/a><\/td>\n<td style=\"border:none;\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/07\/discharging.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/07\/discharging-280x173.jpg\" alt=\"battery discharging\" width=\"280\" height=\"173\" class=\"aligncenter size-medium wp-image-6073\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/07\/discharging-280x173.jpg 280w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/07\/discharging.jpg 544w\" sizes=\"auto, (max-width: 280px) 100vw, 280px\" \/><\/a><\/td>\n<\/tr>\n<tr>\n<td style=\"border:none;\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/07\/fullcharged.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/07\/fullcharged-280x174.jpg\" alt=\"battery is fully charged\" width=\"280\" height=\"174\" class=\"aligncenter size-medium wp-image-6074\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/07\/fullcharged-280x174.jpg 280w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/07\/fullcharged.jpg 543w\" sizes=\"auto, (max-width: 280px) 100vw, 280px\" \/><\/a><\/td>\n<td style=\"border:none;\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/07\/low-battery.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/07\/low-battery-280x173.jpg\" alt=\"battery low\" width=\"280\" height=\"173\" class=\"aligncenter size-medium wp-image-6075\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/07\/low-battery-280x173.jpg 280w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/07\/low-battery.jpg 544w\" sizes=\"auto, (max-width: 280px) 100vw, 280px\" \/><\/a><\/td>\n<\/tr>\n<\/table>\n<p><b>How to Install Battery Monitor in Ubuntu:<\/b><\/p>\n<p>1. Use PPA.<\/p>\n<p>Open terminal (Ctrl+Alt+T) and run the commands below one by one to install it from the PPA:<\/p>\n<pre style=\"border:none;\">sudo add-apt-repository ppa:maateen\/battery-monitor\n\nsudo apt update\n\nsudo apt install battery-monitor<\/pre>\n<p>So far, Ubuntu 16.04 and Ubuntu 14.04 are supported.<\/p>\n<p>2. For those who don&#8217;t want to add PPA, grab the <b>.deb<\/b> installer from the <a href=\"https:\/\/github.com\/maateen\/battery-monitor\/releases\" target=\"_blank\">release page<\/a>.<\/p>\n<p>Once installed, launch the tool via command <code>battery-monitor<\/code> for the first time. Or just restart, it will start in background automatically at login.<\/p>\n<p><b>NOTE:<\/b> The software is in very earlier stage, it may have bugs. Report issues and ask requests at <a href=\"https:\/\/github.com\/maateen\/battery-monitor\/issues\" target=\"_blank\">https:\/\/github.com\/maateen\/battery-monitor\/issues<\/a><\/p>\n<p>To uninstall it, just run command:<\/p>\n<pre style=\"border:none;\">sudo apt remove battery-monitor<\/pre>\n<p>And remove the PPA if added via <i>Software &#038; Updates -> Other Software<\/i> tab.<\/p>","protected":false},"excerpt":{"rendered":"<p>Battery Monitor is a simple tool written in Python3 and PyGTK3. It notifies battery status of charging, discharging, fully charged through desktop notifications. When the battery is below 10%, it plays a sound and pops up a notification bubble. No command typing on terminal, no extra indicator, the tool just pop notifications when the battery [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[52],"tags":[1120,1359],"class_list":["post-6066","post","type-post","status-publish","format-standard","hentry","category-app-review","tag-battery","tag-battery-monitor"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/6066","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=6066"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/6066\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=6066"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=6066"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=6066"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}