Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | {CMakeLists.txt,src/service.c}: Make building against librda optional. | Mike Gabriel | 2023-11-04 | 1 | -2/+7 |
| | |||||
* | dbus: Add power percentage and is dischargingpersonal/mariogrip/dbus-updates | Marius Gripsgard | 2023-09-18 | 1 | -0/+18 |
| | | | | This exposes power percentage and is discharging to the dbus interface. | ||||
* | Remove orphan osd-notify remnants | Robert Tari | 2023-09-09 | 1 | -4/+0 |
| | |||||
* | src/service.c: Ignore RDA's opinion when on Lomiri. Assume local session for ↵ | Mike Gabriel | 2023-08-31 | 1 | -1/+8 |
| | | | | | | | Lomiri. Relates to: https://github.com/ArcticaProject/librda/issues/8 Relates to: https://gitlab.com/ubports/development/core/packaging/ayatana-indicators/ayatana-indicator-power/-/issues/7#note_1535612053 | ||||
* | src/deviceinfo-flashlight.c: Add copyright header. | Mike Gabriel | 2023-08-24 | 1 | -0/+19 |
| | | | | Fixes https://github.com/AyatanaIndicators/ayatana-indicator-power/issues/82 | ||||
* | Do not show when in a remote session | Robert Tari | 2023-08-10 | 1 | -5/+11 |
| | | | | fixes https://github.com/AyatanaIndicators/ayatana-indicator-power/issues/13 | ||||
* | src/notifier.c: Do not access freed variable | Robert Tari | 2023-08-04 | 1 | -2/+3 |
| | |||||
* | src/service.c: stop special-casing Lomiri for level indicator type | Ratchanan Srirattanamet | 2023-07-12 | 1 | -16/+2 |
| | | | | | | | | | | | Since the change in level reporting from an action to menu attribute is a breaking change for Lomiri anyway, we might as well let Lomiri use .level indicator type. This reduces 1 special case for Lomiri, for which there is multiple throughout the codebase. We probably want to minimize this over time... Bug-UBports: https://gitlab.com/ubports/development/core/lomiri/-/issues/70 | ||||
* | src/service.c: also update devices section on phone profile | Ratchanan Srirattanamet | 2023-07-11 | 1 | -0/+1 |
| | | | | | | | Since there's no longer an action to update the battery level, now the submenu itself has to also be updated on the phone. Bug-UBports: https://gitlab.com/ubports/development/core/lomiri/-/issues/70 | ||||
* | src/device.c: Don't show parentheses around time-remaining / battery charge ↵ | Mike Gabriel | 2023-06-08 | 1 | -6/+31 |
| | | | | percentage values when in Lomiri. | ||||
* | src: add support for getting flashlight paths through deviceinfo | Muhammad | 2023-06-05 | 3 | -14/+56 |
| | | | | Signed-off-by: Muhammad <muhammad23012009@hotmail.com> | ||||
* | Do not use charge-aware icons in the menu | Robert Tari | 2023-05-05 | 3 | -7/+56 |
| | |||||
* | Use the device model name in the menu | Robert Tari | 2023-05-05 | 5 | -14/+84 |
| | |||||
* | src/service.c: Use level or progress IDO as needed | Robert Tari | 2023-05-05 | 1 | -23/+28 |
| | |||||
* | Whitespace fix | Robert Tari | 2023-05-05 | 1 | -2/+2 |
| | |||||
* | Show battery level for all devices (including bluetooth) | Robert Tari | 2023-04-03 | 3 | -95/+145 |
| | | | | fixes https://gitlab.com/ubports/development/core/packaging/ayatana-indicators/ayatana-indicator-bluetooth/-/issues/3 | ||||
* | src/service.c: Create a fake primary device icon on Lomiri if no device is ↵ | Robert Tari | 2023-02-17 | 1 | -0/+10 |
| | | | | | | present fixes https://gitlab.com/ubports/development/core/packaging/ayatana-indicators/ayatana-indicator-power/-/issues/2 | ||||
* | 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 |
| |