Skip to content
This repository was archived by the owner on Jan 12, 2025. It is now read-only.
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

158 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Indicator upower for Ubuntu Touch

A upower indicator for Ubuntu Touch, spin-off from bhdouglass's Indicator Weather. It's uses data from Linux API and the cli command Upower embedded into the Ubuntu Touch operating system.

Upower is devices dependent, please submit your device data to handle more info.

Known support :

Devices Status Current Temperature Charge Estimated Bat. capacity Remaining life Limiting battery's charge Battery Cycle
OP3(T) x x x x x x x x
mako x x x x x no
hammerhead x x x x no no
cedric x x x x x no
bacon x x x x no no
vegetahd x not reliable x x no no
turbo x x x x no no x
pinephone x x x x no no
suzu x x x x no no x
mido x x x x no no
miatoll x x x x no no x
dumpling x x x x x x x

Limiting battery's Charge

Installation

  • Install the application from OpenStore,
  • Go to the upower app, set setting and save,
  • install the indicators,
  • Reboot.

Translating

TCheck /po.

About the Indicator

As for Indicator Weather, the indicator itself is rather simple. It's a python script that exports a Gtk menu over DBus. To start the script there is an Upstart config file located at indicator/indicator-upower.service. This starts the indicator when Unity starts the rest of the indicators. The other important file is indicator/upower.indicator. This file lets Unity know where to find the indicator on DBus and where to place the indicator on the indicator bar.

If you are interested in creating your own indicator for Ubuntu Touch and have questions, I would be glad to help. Moreover the Indicator Master, Brian Douglass, can be Just contact via my website.

Building

The easiest way to compile and package indicator upower is via clickable.

Logo

The logo is from the gusbemacbe github repository of Suru-plus icons.

Donate

Please consider giving a small donation to the Ubports project.

License

Copyright (C) 2019 Ernesst

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3, as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranties of MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

About

Fork of uPower-Fork ;-) for possible contributions

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages