maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Is it possible to start some program while charging? (https://talk.maemo.org/showthread.php?t=92610)

JjyKs 2014-02-04 21:53

Is it possible to start some program while charging?
 
I made a transparent wall mounted wireless charging "pocket" for my Jolla. Now i would like to see clock in it while charging, so i'm thinking about writing my own app to show it where i want. However i have no idea if it's possible to trigger app when the phone starts charging, and close it when it stops.

Also, is it possible to keep screen on endlessly while charging?

Here's a post about my charging pocket if you're interested http://talk.maemo.org/showpost.php?p...8&postcount=79

evk 2014-02-05 08:16

Re: Is it possible to start some program while charging?
 
Use dbus-monitor to see if there's anything you can trigger on.

The screen can be activated with mcetool.


All times are GMT. The time now is 03:35.

vBulletin® Version 3.8.8