<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ayatana-indicator-power/src/flashlight.c, branch main</title>
<subtitle>Ayatana Indicator Power Service</subtitle>
<id>https://openid.arctica-project.org/ayatana-indicator-power/atom?h=main</id>
<link rel='self' href='https://openid.arctica-project.org/ayatana-indicator-power/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/ayatana-indicator-power/'/>
<updated>2025-03-08T22:16:42+00:00</updated>
<entry>
<title>flashlight: allow to get simple flashlight enable and disable values from deviceinfo</title>
<updated>2025-03-08T22:16:42+00:00</updated>
<author>
<name>Bardia Moshiri</name>
<email>bardia@furilabs.com</email>
</author>
<published>2025-03-08T22:08:24+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/ayatana-indicator-power/commit/?id=aefad6d79104a14ef06b303f92feda226ee9b9ba'/>
<id>urn:sha1:aefad6d79104a14ef06b303f92feda226ee9b9ba</id>
<content type='text'>
the value for enable/disable for simple sysfs might not always be 0 or 1. one example is the FLX1 phone.
allow to override using deviceinfo and fallback to SIMPLE_ENABLE and SIMPLE_DISABLE if built without deviceinfo or no value is provided

Signed-off-by: Bardia Moshiri &lt;bardia@furilabs.com&gt;
</content>
</entry>
<entry>
<title>src: add support for getting flashlight paths through deviceinfo</title>
<updated>2023-06-05T18:01:18+00:00</updated>
<author>
<name>Muhammad</name>
<email>muhammad23012009@hotmail.com</email>
</author>
<published>2023-05-12T12:49:30+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/ayatana-indicator-power/commit/?id=dd3dccb5b3ece993ea648f76ff0cc9aa08527061'/>
<id>urn:sha1:dd3dccb5b3ece993ea648f76ff0cc9aa08527061</id>
<content type='text'>
Signed-off-by: Muhammad &lt;muhammad23012009@hotmail.com&gt;
</content>
</entry>
<entry>
<title>Handle state changes for flashlight switch</title>
<updated>2023-02-12T19:34:36+00:00</updated>
<author>
<name>Robert Tari</name>
<email>robert@tari.in</email>
</author>
<published>2023-02-11T00:27:40+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/ayatana-indicator-power/commit/?id=8ec14e26e24b823f6be26ff36b428781a75c6bdf'/>
<id>urn:sha1:8ec14e26e24b823f6be26ff36b428781a75c6bdf</id>
<content type='text'>
fixes https://gitlab.com/ubports/development/core/packaging/ayatana-indicators/ayatana-indicator-power/-/issues/5
</content>
</entry>
<entry>
<title>flashlight: Add support for PM8998 based SoCs</title>
<updated>2021-08-28T08:17:14+00:00</updated>
<author>
<name>Jami Kettunen</name>
<email>jami.kettunen@protonmail.com</email>
</author>
<published>2020-12-03T01:27:13+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/ayatana-indicator-power/commit/?id=2432f6b35d49b5f7f270a2408f26bbb658541a9d'/>
<id>urn:sha1:2432f6b35d49b5f7f270a2408f26bbb658541a9d</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>flashlight: Add support for simpler sysfs toggles (#34)</title>
<updated>2021-08-28T08:17:14+00:00</updated>
<author>
<name>Jami Kettunen</name>
<email>jami.kettunen@protonmail.com</email>
</author>
<published>2020-10-16T20:54:54+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/ayatana-indicator-power/commit/?id=333a4273eb26ffc47b29f3ea8ce3213d36803894'/>
<id>urn:sha1:333a4273eb26ffc47b29f3ea8ce3213d36803894</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Try to detect if flash needs to be enabled (latched) separately</title>
<updated>2020-08-06T14:00:24+00:00</updated>
<author>
<name>Florian Leeber</name>
<email>florian@ubports.com</email>
</author>
<published>2020-07-15T16:14:26+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/ayatana-indicator-power/commit/?id=4aaddc4dedd026b55cb8d7f02409b481915ea472'/>
<id>urn:sha1:4aaddc4dedd026b55cb8d7f02409b481915ea472</id>
<content type='text'>
</content>
</entry>
<entry>
<title>flashlight: Add more brightness file paths</title>
<updated>2020-08-06T13:59:37+00:00</updated>
<author>
<name>Alfred Neumayer</name>
<email>dev.beidl@gmail.com</email>
</author>
<published>2020-02-16T19:08:48+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/ayatana-indicator-power/commit/?id=215c6ddc8712a798ae6df8a54900d81a76c5ca56'/>
<id>urn:sha1:215c6ddc8712a798ae6df8a54900d81a76c5ca56</id>
<content type='text'>
</content>
</entry>
<entry>
<title>src/flashlight.c: Cast char* from const char* when assigning flash_sysfs_path.</title>
<updated>2018-03-25T20:29:08+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2018-03-25T20:29:08+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/ayatana-indicator-power/commit/?id=1d4e6c35d72d3c08f390f9ecbc1f881556650bed'/>
<id>urn:sha1:1d4e6c35d72d3c08f390f9ecbc1f881556650bed</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added warning to avoid overheating of the LED.</title>
<updated>2018-03-25T20:21:10+00:00</updated>
<author>
<name>Jan Sprinz (NeoTheThird)</name>
<email>neo@neothethird.de</email>
</author>
<published>2018-03-25T20:18:55+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/ayatana-indicator-power/commit/?id=868fa1688edaaa48696f59d3fafe44dc9afcb940'/>
<id>urn:sha1:868fa1688edaaa48696f59d3fafe44dc9afcb940</id>
<content type='text'>
 Ported from UBports power indicator:

 commit ef020b31be15f1126d3e5ea5ec399179aad586b8
 Author: Jan Sprinz (NeoTheThird) &lt;neo@neothethird.de&gt;
 Date:   Sat Sep 16 16:02:50 2017 +0200

    Forgot semicolon *blush*

 commit c8be2d9a142e17bdfa86ee68e23a18ba0680c244
 Author: Jan Sprinz (NeoTheThird) &lt;neo@neothethird.de&gt;
 Date:   Sat Sep 16 15:53:29 2017 +0200

    Change var name

 commit 3d6a37503bafcbf397220dcfac5624a686f2f900
 Author: Jan Sprinz (NeoTheThird) &lt;neo@neothethird.de&gt;
 Date:   Sat Sep 16 14:24:05 2017 +0200

    Added warning to avoid overheating of the LED

 Ported-by: Mike Gabriel &lt;mike.gabriel@das-netzwerkteam.de&gt;
</content>
</entry>
<entry>
<title>Add basic flashlight support.</title>
<updated>2018-03-25T20:12:29+00:00</updated>
<author>
<name>Marius Gripsgard</name>
<email>mariogrip@ubuntu.com</email>
</author>
<published>2018-03-25T20:10:45+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/ayatana-indicator-power/commit/?id=cf7ae8a8754c75f93692c79ebecfdd674b52ec69'/>
<id>urn:sha1:cf7ae8a8754c75f93692c79ebecfdd674b52ec69</id>
<content type='text'>
 Ported from UBPorts power indicator:

 commit efef6f25f378021c99b3078958482b3c4ffc43a2
 Author: Marius Gripsgard &lt;mariogrip@ubuntu.com&gt;
 Date:   Sun Aug 13 00:09:01 2017 +0200

    Add support for other flashlight sysfs paths

 commit 3f4339876ddb586b75a73fab51a54b1d4d54fdd1
 Author: Marius Gripsgard &lt;mariogrip@ubuntu.com&gt;
 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 &lt;mike.gabriel@das-netzwerkteam.de&gt;
</content>
</entry>
</feed>
