Hi Daniel, > From: Daniel Wagner <[email protected]> > > Hi, > > Okay here is my proposal to fix BMC#24432 > > Here is my resaoning. First thing is that we really want to > power off the modems if we disable the technology. Toggling just Online > is not sufficient because the modem will still drain the battery. To me, playing with power drain is something more about power saving mode rather than disabling/enabling technology.
This sounds to be a workaround here that mixes power saving mode and rfkill. Which subsystems should be handled distinctly and not mixed (though it might have an effect on each other). Or does this "Powered" mean a different thing than psm from ofono's point of view? If so then... forget about that mail :) It could be solved in adding a PowerSaveMode in technology, and ofono plugin would speciffically trigger this "Powered=False" when cellular technology would be disabled (and/or only to modem that does not support rfkill? is there a way to know that?). This would solve this corner case. And this would introduce this psm for other technology like wifi (which means a different thing than rfkill), which would need to be handled in wifi plugin. etc... Or do we care at all about psm into connman? meaning it has to be supported somewhere else. If so then your solution is fine. (actually technically adding psm support in technology.c would not be much more different) Cheers, Tomasz _______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
