* Adapters power management
@ 2014-03-23 0:42 Àlex Fiestas
2014-03-23 0:45 ` Àlex Fiestas
0 siblings, 1 reply; 4+ messages in thread
From: Àlex Fiestas @ 2014-03-23 0:42 UTC (permalink / raw)
To: BlueZ
I'm finishing the port of KDE's bluez interface to BlueZ5 and I am wondering a
few things about power management.
First thing is, why is Adapter::powered not hook into rfkill? Is there any
difference power consumption-wise whether the power state is true or false?
I look into the source code and only saw code to monitor the rfkill state but
not for modifying it.
In the case that Adapter::powered has an impact on power consumption, then the
ideal state is to have it to false as much as possible. Are there any plans to
make that easy for frontend developers? In a sense this is very similar to
Inhibitions in systemd[1] so I was thinking
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Adapters power management
2014-03-23 0:42 Adapters power management Àlex Fiestas
@ 2014-03-23 0:45 ` Àlex Fiestas
2014-03-23 15:08 ` Johan Hedberg
0 siblings, 1 reply; 4+ messages in thread
From: Àlex Fiestas @ 2014-03-23 0:45 UTC (permalink / raw)
To: BlueZ
[-- Attachment #1: Type: text/plain, Size: 958 bytes --]
On Sunday 23 March 2014 01:42:49 you wrote:
> I'm finishing the port of KDE's bluez interface to BlueZ5 and I am wondering
> a few things about power management.
>
> First thing is, why is Adapter::powered not hook into rfkill? Is there any
> difference power consumption-wise whether the power state is true or false?
> I look into the source code and only saw code to monitor the rfkill state
> but not for modifying it.
>
> In the case that Adapter::powered has an impact on power consumption, then
> the ideal state is to have it to false as much as possible. Are there any
> plans to make that easy for frontend developers? In a sense this is very
> similar to Inhibitions in systemd[1] so I was thinking
That bluez could implement something similar so when the application that
changed Adapter::powered to true exists the state is set back to false.
Sorry for the double email.
Cheers.
[1]http://www.freedesktop.org/wiki/Software/systemd/inhibit/
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Adapters power management
2014-03-23 0:45 ` Àlex Fiestas
@ 2014-03-23 15:08 ` Johan Hedberg
2014-03-24 13:46 ` Àlex Fiestas
0 siblings, 1 reply; 4+ messages in thread
From: Johan Hedberg @ 2014-03-23 15:08 UTC (permalink / raw)
To: Àlex Fiestas; +Cc: BlueZ
Hi Alex,
On Sun, Mar 23, 2014, Àlex Fiestas wrote:
> On Sunday 23 March 2014 01:42:49 you wrote:
> > I'm finishing the port of KDE's bluez interface to BlueZ5 and I am wondering
> > a few things about power management.
> >
> > First thing is, why is Adapter::powered not hook into rfkill? Is there any
> > difference power consumption-wise whether the power state is true or false?
> > I look into the source code and only saw code to monitor the rfkill state
> > but not for modifying it.
> >
> > In the case that Adapter::powered has an impact on power consumption, then
> > the ideal state is to have it to false as much as possible. Are there any
> > plans to make that easy for frontend developers? In a sense this is very
> > similar to Inhibitions in systemd[1] so I was thinking
> That bluez could implement something similar so when the application that
> changed Adapter::powered to true exists the state is set back to false.
How would you suggest to make this work together with Bluetooth mice and
keyboards that need to be connected or at least able to initiate
connections on demand (when you press a button or move the mouse).
Johan
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-03-24 13:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-23 0:42 Adapters power management Àlex Fiestas
2014-03-23 0:45 ` Àlex Fiestas
2014-03-23 15:08 ` Johan Hedberg
2014-03-24 13:46 ` Àlex Fiestas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox