Re: [systemd-devel] Detecting inactive sessions

2014-12-03 Thread Bastien Nocera
On Wed, 2014-12-03 at 02:41 +0100, Lennart Poettering wrote: > On Wed, 19.11.14 00:46, Bastien Nocera (had...@hadess.net) wrote: > > > On Tue, 2014-11-18 at 19:32 +0100, Bastien Nocera wrote: > > > On Tue, 2014-11-11 at 16:46 +0100, Lennart Poettering wrote: > > > > > > > I am willing to take a p

Re: [systemd-devel] Detecting inactive sessions

2014-12-02 Thread Lennart Poettering
On Wed, 19.11.14 00:46, Bastien Nocera (had...@hadess.net) wrote: > On Tue, 2014-11-18 at 19:32 +0100, Bastien Nocera wrote: > > On Tue, 2014-11-11 at 16:46 +0100, Lennart Poettering wrote: > > > > > I am willing to take a patch for this, but then again, as I own a Yoga > > > I might look into th

Re: [systemd-devel] Detecting inactive sessions

2014-11-18 Thread Bastien Nocera
On Tue, 2014-11-18 at 19:32 +0100, Bastien Nocera wrote: > On Tue, 2014-11-11 at 16:46 +0100, Lennart Poettering wrote: > > > I am willing to take a patch for this, but then again, as I own a Yoga > > I might look into this myself too one day. > > If you can write the scaffolding for it, I'm happ

Re: [systemd-devel] Detecting inactive sessions

2014-11-18 Thread Bastien Nocera
On Tue, 2014-11-11 at 16:46 +0100, Lennart Poettering wrote: > I am willing to take a patch for this, but then again, as I own a Yoga > I might look into this myself too one day. If you can write the scaffolding for it, I'm happy writing the code that talks to the accelerometer, and that would ma

Re: [systemd-devel] Detecting inactive sessions

2014-11-12 Thread Bastien Nocera
On Tue, 2014-11-11 at 16:46 +0100, Lennart Poettering wrote: > On Wed, 29.10.14 15:45, Bastien Nocera (had...@hadess.net) wrote: > > > For a very specific definition of inactive. > > > > I'm looking at a way for the iio-sensor-proxy at: > > https://github.com/hadess/iio-sensor-proxy > > to suspen

Re: [systemd-devel] Detecting inactive sessions

2014-11-11 Thread Lennart Poettering
On Wed, 29.10.14 15:45, Bastien Nocera (had...@hadess.net) wrote: > For a very specific definition of inactive. > > I'm looking at a way for the iio-sensor-proxy at: > https://github.com/hadess/iio-sensor-proxy > to suspend reading from accelerometers (or maybe to turn them off), when > all the s

Re: [systemd-devel] Detecting inactive sessions

2014-11-04 Thread Bastien Nocera
On Tue, 2014-11-04 at 10:09 +0100, David Herrmann wrote: > Hi Bastien > > On Mon, Nov 3, 2014 at 5:30 PM, Bastien Nocera wrote: > > On Mon, 2014-11-03 at 17:28 +0100, David Herrmann wrote: > >> Hi > >> > >> On Wed, Oct 29, 2014 at 3:45 PM, Bastien Nocera wrote: > >> > For a very specific definit

Re: [systemd-devel] Detecting inactive sessions

2014-11-04 Thread David Herrmann
Hi Bastien On Mon, Nov 3, 2014 at 5:30 PM, Bastien Nocera wrote: > On Mon, 2014-11-03 at 17:28 +0100, David Herrmann wrote: >> Hi >> >> On Wed, Oct 29, 2014 at 3:45 PM, Bastien Nocera wrote: >> > For a very specific definition of inactive. >> > >> > I'm looking at a way for the iio-sensor-proxy

Re: [systemd-devel] Detecting inactive sessions

2014-11-03 Thread Bastien Nocera
On Mon, 2014-11-03 at 17:28 +0100, David Herrmann wrote: > Hi > > On Wed, Oct 29, 2014 at 3:45 PM, Bastien Nocera wrote: > > For a very specific definition of inactive. > > > > I'm looking at a way for the iio-sensor-proxy at: > > https://github.com/hadess/iio-sensor-proxy > > to suspend reading

Re: [systemd-devel] Detecting inactive sessions

2014-11-03 Thread David Herrmann
Hi On Wed, Oct 29, 2014 at 3:45 PM, Bastien Nocera wrote: > For a very specific definition of inactive. > > I'm looking at a way for the iio-sensor-proxy at: > https://github.com/hadess/iio-sensor-proxy > to suspend reading from accelerometers (or maybe to turn them off), when > all the sessions

[systemd-devel] Detecting inactive sessions

2014-10-29 Thread Bastien Nocera
For a very specific definition of inactive. I'm looking at a way for the iio-sensor-proxy at: https://github.com/hadess/iio-sensor-proxy to suspend reading from accelerometers (or maybe to turn them off), when all the sessions are locked and the screens turned off. This would usually mean that I