Thanks gonzalo :) Looking at it now.<br><br><div class="gmail_quote">On Fri, Nov 5, 2010 at 12:36 AM, Gonzalo Odiard <span dir="ltr"><<a href="mailto:gonzalo@laptop.org">gonzalo@laptop.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
See the methods  _inhibit_suspend and _allow_suspend<br>
<a href="https://dev.laptop.org/git/projects/acoustic-measure-activity/tree/activity.py" target="_blank">https://dev.laptop.org/git/projects/acoustic-measure-activity/tree/activity.py</a><br>
<font color="#888888"><br>
Gonzalo<br>
</font><div><div></div><div class="h5"><br>
On Thu, Nov 4, 2010 at 9:32 PM, Martin Abente<br>
<<a href="mailto:martin.abente.lahaye@gmail.com">martin.abente.lahaye@gmail.com</a>> wrote:<br>
> I don't know to much about how the APM policy works, but maybe it is<br>
> possible to set some rules for this case? If not, we could just check if APM<br>
> is enabled and throw an alert like Daniel said.<br>
><br>
> On Thu, Nov 4, 2010 at 8:09 PM, Steven Parrish <<a href="mailto:smparrish@gmail.com">smparrish@gmail.com</a>> wrote:<br>
>><br>
>> On Thu, Nov 4, 2010 at 12:57 PM, Gonzalo Odiard <<a href="mailto:gonzalo@laptop.org">gonzalo@laptop.org</a>><br>
>> wrote:<br>
>> > You can disable APM by software when the modem is connected.<br>
>> > You can see examples of code in many places (Distance activity, etc)<br>
>> ><br>
>> > Gonzalo<br>
>> ><br>
>> > On Thu, Nov 4, 2010 at 1:22 PM, Daniel Castelo<br>
>> > <<a href="mailto:dcastelo@plan.ceibal.edu.uy">dcastelo@plan.ceibal.edu.uy</a>> wrote:<br>
>> >> If you are using the option "Automatic Power Management" and you plug<br>
>> >> in a<br>
>> >> 3G Modem, the device disconnects after some seconds.<br>
>> >> Just something to communicate to users. Maybe we could show a alert to<br>
>> >> the<br>
>> >> user when try to connect a 3G Modem with this configuration.<br>
>> >> What do you think?<br>
>> >><br>
>> >> Regards, Daniel<br>
>> >><br>
>> >><br>
>> >><br>
>> >> --<br>
>> >> Ing. Daniel Castelo<br>
>> >> Plan Ceibal - Área Técnica<br>
>> >> Avda. Italia 6201<br>
>> >> Montevideo - Uruguay.<br>
>> >> Tel.: 2 601 57 73 Interno 2228<br>
>> >> E-mail : <a href="mailto:dcastelo@plan.ceibal.edu.uy">dcastelo@plan.ceibal.edu.uy</a><br>
>> >><br>
>> >> _______________________________________________<br>
>> >> Dextrose mailing list<br>
>> >> <a href="mailto:Dextrose@lists.sugarlabs.org">Dextrose@lists.sugarlabs.org</a><br>
>> >> <a href="http://lists.sugarlabs.org/listinfo/dextrose" target="_blank">http://lists.sugarlabs.org/listinfo/dextrose</a><br>
>> >><br>
>> >><br>
>> > _______________________________________________<br>
>> > Dextrose mailing list<br>
>> > <a href="mailto:Dextrose@lists.sugarlabs.org">Dextrose@lists.sugarlabs.org</a><br>
>> > <a href="http://lists.sugarlabs.org/listinfo/dextrose" target="_blank">http://lists.sugarlabs.org/listinfo/dextrose</a><br>
>> ><br>
>><br>
>> Martin, since you have been working on the 3g code can you look into<br>
>> disabling the APM when 3g is active.<br>
>><br>
>> Steven<br>
><br>
><br>
</div></div></blockquote></div><br>