Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Handle state changes for flashlight switch | Robert Tari | 2023-02-12 | 2 | -3/+5 |
| | | | | fixes https://gitlab.com/ubports/development/core/packaging/ayatana-indicators/ayatana-indicator-power/-/issues/5 | ||||
* | src/service.c: Fix auto brightness switch | Robert Tari | 2022-11-13 | 1 | -3/+5 |
| | |||||
* | Revert "Don't prioritize discharging items with no time estimate that have ↵ | Alfred Neumayer | 2022-11-12 | 1 | -8/+0 |
| | | | | | | | | | | | | | | | more than 10% power remaining." As the battery in the Pixel 3a running 20.04 exposes itself without any time estimates, it gets hidden by the indicator unless below 10% of charge. The original commit message mentions low-power devices having no time estimates most probably due to lasting long, but (without an honest checkup of the upstream kernel sources) I doubt the kernel driver to distinguish between those capabilities in the power_supply properties, hence remove this artificial limit again. This reverts commit 522fdc6abbfee52dec5c6b0194cf87ffcc0f3dcd. | ||||
* | src/service.c: Fix flashlight toggle | Robert Tari | 2022-11-11 | 1 | -3/+5 |
| | | | | fixes https://github.com/AyatanaIndicators/ayatana-indicator-power/issues/66 | ||||
* | Theming fix: Separate panel icons from the power menu icons | Robert Tari | 2022-11-10 | 4 | -18/+76 |
| | | | | | | This fixes the broken theming issue where the Power Indicator menu shows the same icons as used by the panel, rather than the ones used elsewhere on the system. End result: makes any theme capable of becoming Ayatana-friendly without hacks | ||||
* | src/service.c: Add tooltip support. | Mike Gabriel | 2022-09-01 | 1 | -0/+2 |
| | |||||
* | Add support for gaming-input devices with internal batteries | Martin Wimpress | 2022-04-05 | 2 | -0/+6 |
| | | | | | | This pull requests add support for battery powered gaming-input devices. Tested with Razer Wolverine V2 Chroma and Scuf Instinct Pro. See: https://pad.lv/1967854 | ||||
* | Get Lomiri sounds path from lomiri-sounds pkg-config | Robert Tari | 2022-02-23 | 1 | -4/+8 |
| | |||||
* | Make Lomiri features configurable at build time | Robert Tari | 2022-02-18 | 2 | -7/+7 |
| | |||||
* | Drop pkglibexecdir and use native CMake file configuration | Robert Tari | 2022-02-14 | 1 | -1/+1 |
| | |||||
* | Clean up compilation flags | Robert Tari | 2021-12-17 | 1 | -9/+0 |
| | |||||
* | Check for lomiri-schemas package instead of individual files | Robert Tari | 2021-12-15 | 2 | -7/+7 |
| | |||||
* | Drop Low battery.ogg and adapt code to use Lomiri sounds | Robert Tari | 2021-11-22 | 1 | -1/+2 |
| | | | | https://github.com/AyatanaIndicators/ayatana-indicator-power/issues/49 | ||||
* | src/service.c: Assign copyright to Robert Tari, not AyatanaIndicators project. | Mike Gabriel | 2021-11-18 | 1 | -1/+1 |
| | |||||
* | src/: Typo fix in license header. | Mike Gabriel | 2021-11-18 | 3 | -5/+5 |
| | |||||
* | Rename Lomiri-specific properties to x-lomiri | Robert Tari | 2021-11-09 | 1 | -4/+4 |
| | |||||
* | *_UT_ACCTSERVICE_SYSTEMSOUND_SETTINGS to HAS_LOMIRI_ACCTSERVICE_SOUND | Robert Tari | 2021-11-01 | 2 | -7/+7 |
| | |||||
* | com.ubuntu.touch.AccountsService.Sound to com.lomiri.touch.AccountsService.Sound | Robert Tari | 2021-11-01 | 1 | -2/+2 |
| | |||||
* | Rename com.ubuntu.touch.system to com.lomiri.touch.system | Robert Tari | 2021-11-01 | 1 | -1/+3 |
| | |||||
* | Rename x-canonical properties to x-ayatana | Robert Tari | 2021-10-26 | 1 | -4/+6 |
| | |||||
* | src/device.c: Fix copyright header | Robert Tari | 2021-09-20 | 1 | -1/+1 |
| | |||||
* | Drop all references to lomiri-url-dispatcher | Robert Tari | 2021-08-28 | 2 | -9/+1 |
| | |||||
* | Fix Lomiri power setting | Robert Tari | 2021-08-28 | 1 | -12/+7 |
| | |||||
* | Rename com.canonical.powerd -> com.lomiri.Repowerd | Robert Tari | 2021-08-28 | 3 | -18/+18 |
| | |||||
* | flashlight: Add support for PM8998 based SoCs | Jami Kettunen | 2021-08-28 | 1 | -5/+16 |
| | | | | | | | | | 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. | ||||
* | flashlight: Add support for simpler sysfs toggles (#34) | Jami Kettunen | 2021-08-28 | 2 | -14/+65 |
| | | | | | | | | | | 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. | ||||
* | Pull in many fixes from the bionic branch. (#7) | Rodney | 2021-08-28 | 2 | -8/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. | ||||
* | fix cmake warning of the test apps' dependency on the service library | Charles Kerr | 2021-08-28 | 2 | -6/+1 |
| | |||||
* | remove dead code | Charles Kerr | 2021-08-28 | 1 | -0/+2 |
| | |||||
* | for low power notifications, use libnotify's 'sound-file' property instead ↵ | Charles Kerr | 2021-08-28 | 8 | -450/+20 |
| | | | | of indicator-power calling the sound player directly | ||||
* | demote a spurious warning to a debug message | Charles Kerr | 2021-08-28 | 1 | -1/+1 |
| | |||||
* | don't disable the warning sound when AccountServices is completely unavailable | Charles Kerr | 2021-08-28 | 1 | -3/+10 |
| | |||||
* | move sound-player-mock into the tests/ directory | Charles Kerr | 2021-08-28 | 3 | -171/+1 |
| | |||||
* | fix copy-paste typo | Charles Kerr | 2021-08-28 | 1 | -1/+1 |
| | |||||
* | assume we're in silent mode if we can't get an accounts-service proxy | Charles Kerr | 2021-08-28 | 1 | -2/+6 |
| | |||||
* | add a leak safeguard to accounts_service_sound_proxy | Charles Kerr | 2021-08-28 | 1 | -0/+1 |
| | |||||
* | add build-dep to accountsservice-ubuntu-schemas instead of bundling ↵ | Charles Kerr | 2021-08-28 | 3 | -54/+27 |
| | | | | com.ubuntu.touch.AccountsService.Sound.xml into our source tree | ||||
* | handle service_set_notifier(NULL) gracefully | charles kerr | 2021-08-28 | 1 | -2/+6 |
| | |||||
* | update copyright dates on changed files (again) | charles kerr | 2021-08-28 | 3 | -8/+8 |
| | |||||
* | honor com.ubuntu.touch.AccountsService.Sound.SilentMode | charles kerr | 2021-08-28 | 3 | -1/+115 |
| | |||||
* | use a symbolic constant for the low battery sound's filename | charles kerr | 2021-08-28 | 1 | -1/+1 |
| | |||||
* | fix another touched file's copyright date | charles kerr | 2021-08-28 | 1 | -4/+4 |
| | |||||
* | fix notifier property in service | charles kerr | 2021-08-28 | 1 | -0/+7 |
| | |||||
* | in Notifier's destructor, unref its SoundPlayer field | charles kerr | 2021-08-28 | 1 | -0/+1 |
| | |||||
* | update copyright years on changed/new files | charles kerr | 2021-08-28 | 8 | -20/+20 |
| | |||||
* | make a SoundPlayer interface so we can mock it in the tests | charles kerr | 2021-08-28 | 13 | -60/+546 |
| | | | | | | | | 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 | ||||
* | use gstreamer to play the sound | charles kerr | 2021-08-28 | 3 | -5/+82 |
| | |||||
* | add logic to call sound_play_file() when the low battery notification is shown | charles kerr | 2021-08-28 | 4 | -1/+92 |
| | |||||
* | add an XDG friendly way of finding app-specific datafiles | charles kerr | 2021-08-28 | 3 | -0/+109 |
| | |||||
* | Don't prioritize discharging items with no time estimate that have more than ↵ | Marc Deslauriers | 2021-08-28 | 1 | -6/+14 |
| | | | | | | | | | | | | | | 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. |