← Back to team overview

ubuntu-phone team mailing list archive

Re: hotspot && Wifi

 

hi,
Am Dienstag, den 03.11.2015, 15:56 +0000 schrieb Dave Morley:
> On Tue, 03 Nov 2015 16:42:47 +0100
> Matthias Apitz <guru@xxxxxxxxxxx> wrote:
> 
> > Hello,
> > 
> > When I switch on hotspot and Wifi was off before, it asks me, if Wifi 
> > should be turned on too, which I think is fine. But when I later turn
> > off hotspot, Wifi stays silently on and consumes energy. I think, in
> > this case if Wifi was off before it should be turned off again. Or is
> > this somehow for good reasons? If not I will file a bug issue.
> > 
> > Thx
> > 
> > matthias
> > 
> 
> If I am correct there is no way to track a previous state.  

well, you obviously know wifi is off when you ask the user, so the AP
enabling code just needs to memorize that and if you turn off AP mode
again it should set the wifi back to the state it was before ... not
actually magic to implement this :)

matthias: just file a bug :)

ciao
	oli



Follow ups

References