aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* src/flashlight.c: Cast char* from const char* when assigning flash_sysfs_path.Mike Gabriel2018-03-251-1/+1
|
* Added warning to avoid overheating of the LED.Jan Sprinz (NeoTheThird)2018-03-253-4/+20
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* Ignore batt_therm devices.Marius Gripsgard2018-03-251-2/+11
| | | | | | | | | | | | | | | | 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>
* Add basic flashlight support.Marius Gripsgard2018-03-254-0/+128
| | | | | | | | | | | | | | | | | | | | 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>
* src/utils.(c|h): Use XDG_CURRENT_DESKTOP for XFCE as well, in order to ↵Mike Gabriel2018-03-212-1/+23
| | | | detect that -power indicator is used on an XFCE desktop.
* src/{service.c,utils.c}: Fix grammar flaw in zenity warning.Mike Gabriel2018-03-162-2/+2
|
* Use coverage support from cmake-extras.Rodney Dawes2018-03-161-3/+3
|
* Add fallback code that produces a warning (using zenity), if we don't know ↵Mike Gabriel2018-03-153-0/+61
| | | | how to handle certain actions.
* src/utils.c: Use our desktop detection functions for find a way to open an ↵Mike Gabriel2018-03-151-3/+4
| | | | appropriate power settings dialog.
* src/utils.c: Add is_pantheon() function.Mike Gabriel2018-03-152-0/+22
|
* src/service.c: Use desktop detection functions in 'on_statistics_activated()'.Mike Gabriel2018-03-121-3/+3
|
* src/utils.(c|h): Port is_{mate,gnome,unity}() functions from -session indicator.Mike Gabriel2018-03-122-0/+67
|
* Make URL dispatcher build-dependency optional and handle battery settings ↵Mike Gabriel2018-03-125-58/+123
| | | | request appropriately.
* Revert "Drop unnecessary dependency on Ubuntu's url-dispatcher."Mike Gabriel2018-03-122-1/+27
| | | | This reverts commit 0a9cc2a474ff583c928e109468f20330aae0603c.
* Rename GNOMELOCALEDIR -> LOCALEDIR.Mike Gabriel2017-12-061-1/+1
|
* Set DG_LOG_DOMAIN to ayatana-indicator-power (decapitalized spelling).Mike Gabriel2017-12-061-1/+1
|
* src/CMakeLists.txt: Round up previous commit by fixing dbus-powerd.h codegen ↵Mike Gabriel2017-06-211-1/+1
| | | | call.
* Really switch back to com.canonical.powerd.Mike Gabriel2017-06-142-2/+2
|
* src/brightness.c Fix sed search+replace flaw.Mike Gabriel2017-06-021-1/+1
|
* one step back, let's keep this Ubuntu-centric, we need to add a ↵Mike Gabriel2017-06-021-7/+7
| | | | org.gnome.SettingsDaemon-way of doing this...
* src/service.s: Fix x-canonical-type of the brightness slider building ↵Mike Gabriel2017-06-021-1/+1
| | | | against ayatana-ido.
* src/notifier.c: Fix our own service executable name in notify_init() call.Mike Gabriel2017-05-312-2/+1
|
* src/testing.c: Use 'Ayatana Indicator Power Serivce' as service name.Mike Gabriel2017-05-311-1/+1
|
* src/service.c: Prefer mate-power-statistics to gnome-power-statistics if in ↵Mike Gabriel2017-05-311-4/+14
| | | | a MATE session.
* src/service.c: Know about DESKTOP_SESSION xfce as well (not only about xubuntu).Mike Gabriel2017-05-311-1/+1
|
* src/CMakeLists.txt: Fix nasty typo.Mike Gabriel2017-05-161-1/+1
|
* Another fix-up for previous commits: keep org.ayatana.indicator namespace ↵Mike Gabriel2017-05-161-4/+4
| | | | for indicator types.
* Fixup previous commit. More x-canonical-* type changes.Mike Gabriel2017-05-161-4/+4
|
* One step back... Mimick Canonical's API. Use their namespace for item ↵Mike Gabriel2017-05-151-6/+6
| | | | attributes.
* Make device with power supply has higher sorting priority. (LP: #1100546)Charles Kerr2017-05-155-14/+70
|
* Fix bug that chose the wrong header icon if a connected device has a charge ↵Charles Kerr2017-05-152-2/+21
| | | | but its charging/discharging state is unknown. (LP: #1470080).
* Fix the fallback power icon so the battery icon doesn't show red above 20% ↵Charles Kerr2017-05-151-1/+1
| | | | even when the Suru icon theme isn't present. Fixes: LP:#1559731.
* Drop unnecessary dependency on Ubuntu's url-dispatcher.Mike Gabriel2015-11-122-27/+1
|
* Fork from Ubuntu's indicator-power code project.Mike Gabriel2015-11-126-34/+33
|
* under unity8 start system-settings instead unity-control-centerSebastien Bacher2015-08-271-1/+6
|
* sync with indicator-power/15.04Charles Kerr2015-05-201-1/+3
|\
| * better checking on whether or not menus are built.Charles Kerr2015-05-141-1/+3
| |
* | remove g_message tracerCharles Kerr2015-05-201-2/+0
| |
* | fix the get-brightness-params return signature now that it's wrapped in a proxyCharles Kerr2015-05-201-5/+5
| |
* | a little more work on getting the powerd proxy runningCharles Kerr2015-05-201-15/+9
| |
* | in brightness.c, add a powerd proxy and listen to it for brightness property ↵Charles Kerr2015-05-203-46/+170
|/ | | | changes.
* Change sort order to prefer items with known time remainingMarc Deslauriers2015-04-021-6/+23
|\ | | | | | | Approved by: Charles Kerr, PS Jenkins bot
| * * Change sort order to prefer items with known time remainingMarc Deslauriers2015-03-101-6/+23
| | | | | | | | | | (LP: #1315434)
* | This merge proposal adds support for MATE Desktop.Ubuntu MATE Developers2015-04-021-0/+4
|\ \ | | | | | | | | | Approved by: Ted Gould
| * | Added support for MATE.Ubuntu MATE Developers2015-02-251-0/+4
| |/
* | oops, forgot to commit this tyop fix before pushingCharles Kerr2015-03-311-1/+1
| |
* | use a GThemedIconCharles Kerr2015-03-021-2/+9
| |
* | in the brightness slider, use the display-brightness-min and ↵Charles Kerr2015-03-021-2/+2
|/ | | | display-brightness-max icons.
* Use the new power level icons for a more accurate display of the battery ↵Charles Kerr2015-02-121-3/+32
|\ | | | | | | | | | | level. Fixes: #1388235 Approved by: Ted Gould, PS Jenkins bot
| * fix fencepost error s.t. 20% actually uses battery-020Charles Kerr2015-01-121-1/+1
| |