| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
These sysfs and switch paths are used on Qualcomm SoCs which contain a
PM8998 PMIC block. This at the very least includes the Snapdragon 835
(MSM8998) and Snapdragon 845 (SDM845).
This was tested as working on the OnePlus 5 (MSM8998) and OnePlus 6
(SDM845) smartphones.
|
|
|
|
|
|
|
|
|
|
| |
Unlike the overcomplicated Qualcomm mess, there are also simpler sysfs
toggles which you can just write 1/0 to when enabling/disabling the
flash.
This is used by the MediaTek flashlight_core driver on the Volla Phone
(Helio P23 / MT6763) for example, which this also adds support for. Pinephone
also uses a simple sysfs toggle for flashlight.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Pay attention to $SNAP prefix
* Releasing 12.10.6+17.04.20161201-0ubuntu1
* give sorting priority to devices with power supplies
* Releasing 12.10.6+17.04.20170116-0ubuntu1
* Remove old autostart files.
* Use gmock module from cmake-extras.
* Use coverage support from cmake-extras.
* Add gcovr and lcov dependencies.
* Use intltool support from cmake-extras.
* Remove usage of extra GCOV variables.
* Remove hard-coded -g compiler flag.
* Releasing 12.10.6+17.04.20170210-0ubuntu1
* no change rebuild
* Releasing 12.10.6+17.04.20170322-0ubuntu1
* Start indicator in systemd when indicators.target is started
* Build for bionic
* This is still xenial.
* Update translations from launchpad too.
|
| |
|
| |
|
|
|
|
| |
of indicator-power calling the sound player directly
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
com.ubuntu.touch.AccountsService.Sound.xml into our source tree
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
this requires an annoying amount of scaffolding:
1. implement gst and mock classes to implement the SoundPlayer interface
2. modify notifier to take a SoundPlayer argument in its ctor
3. modify service to take a Notifier argument in its ctor instead of instantiating it on its own
4. change main to update the startup steps for player/notifier/service
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
10% power remaining.
Devices with no time estimates are most likely low-power devices that
have long-lasting batteries, such as a mouse with AA batteries. For those
type of devices that contain batteries that last weeks, there is no value
in displaying their status in preference to devices that have a rapid
charge/discharge cycle.
However, there is value in knowing if the device has a battery that needs
replacing imminently, so only display it if it falls to a 10% charge or
under.
|
| |
|
|
|
|
| |
Fixes AyatanaIndicators/ayatana-indicator-power#20
|
|
|
|
|
|
|
| |
This reverts commit f94ffac7f36831dd8a79f30d5b94de9758fcd3a6.
The original commit entirely broke unit tests. Next revision should
adjust unit tests (or not break them).
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes AyatanaIndicators/ayatana-indicator-power#2
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes AyatanaIndicators/ayatana-indicator-power#12.
|
|
|
|
| |
Fixes AyatanaIndicators/ayatana-indicator-power#9.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ported from UBports power indicator:
commit ef020b31be15f1126d3e5ea5ec399179aad586b8
Author: Jan Sprinz (NeoTheThird) <neo@neothethird.de>
Date: Sat Sep 16 16:02:50 2017 +0200
Forgot semicolon *blush*
commit c8be2d9a142e17bdfa86ee68e23a18ba0680c244
Author: Jan Sprinz (NeoTheThird) <neo@neothethird.de>
Date: Sat Sep 16 15:53:29 2017 +0200
Change var name
commit 3d6a37503bafcbf397220dcfac5624a686f2f900
Author: Jan Sprinz (NeoTheThird) <neo@neothethird.de>
Date: Sat Sep 16 14:24:05 2017 +0200
Added warning to avoid overheating of the LED
Ported-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ported from UBports power indicator:
commit 431114ed4f6d457822655ad57901e7e640f99bca
Author: Marius Gripsgard <mariogrip@ubuntu.com>
Date: Sun Aug 13 00:08:05 2017 +0200
Ignore "batt_therm" devices (fixes: https://github.com/ubports/ubports-touch/issues/94)
This ignores "batt_therm" devices since they do not provide correct
values. "batt_therm" is only used for temperature of the battery and
seems to appear as a "battery" device in upower
Ported-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ported from UBPorts power indicator:
commit efef6f25f378021c99b3078958482b3c4ffc43a2
Author: Marius Gripsgard <mariogrip@ubuntu.com>
Date: Sun Aug 13 00:09:01 2017 +0200
Add support for other flashlight sysfs paths
commit 3f4339876ddb586b75a73fab51a54b1d4d54fdd1
Author: Marius Gripsgard <mariogrip@ubuntu.com>
Date: Fri Jul 28 21:23:54 2017 +0200
Add basic support for QCOM flashlight, Fixes https://github.com/ubports/ubports-touch/issues/79
This does not work on non QCOM devices
Ported-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
|