Closed Bug 864693 Opened 11 years ago Closed 11 years ago

[Buri][WIFI]Wi-Fi should keep on after phone switch off LCD a while

Categories

(Firefox OS Graveyard :: Wifi, defect, P1)

ARM
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 859895

People

(Reporter: sync-1, Unassigned)

Details

Attachments

(2 files)

37.85 KB, application/octet-stream
Details
120.77 KB, text/plain
Details
AU_LINUX_GECKO_ICS_STRAWBERRY_V1.01.00.01.019.077
 Firefox os  v1.0.1
 Mozilla build ID:20130414070204
 
 +++ This bug was initially created as a clone of Bug #444455 +++
 
 DEFECT DESCRIPTION:
 Wi-Fi should keep on after phone power off a while 
 REPRODUCING PROCEDURES:
 1.turn on Wi-Fi
 2.power off screen and after about 10 mins,then power on screen,find Wi-Fi turn off,drag down syatem bar,click Wi-Fi icon,cann't turn on Wi-Fi,but can turn on Wi-Fi via settings->KO1
  EXPECTED BEHAVIOUR:
 1.Wi-Fi should keep on after phone power off a while
  ASSOCIATE SPECIFICATION:
 
  TEST PLAN REFERENCE:
 
  TOOLS AND PLATFORMS USED:
 
  USER IMPACT:
 
  REPRODUCING RATE:5/5
 
  For FT PR, Please list reference mobile's behavior:
 
 ++++++++++ end of initial bug #444455 description ++++++++++
 
 
 
 CONTACT INFO (Name,Phone number):
 
  DEFECT DESCRIPTION:
 
  REPRODUCING PROCEDURES:
 
  EXPECTED BEHAVIOUR:
 
  ASSOCIATE SPECIFICATION:
 
  TEST PLAN REFERENCE:
 
  TOOLS AND PLATFORMS USED:
 
  USER IMPACT:
 
  REPRODUCING RATE:
 
  For FT PR, Please list reference mobile's behavior:
(In reply to sync-1 from comment #0)
> AU_LINUX_GECKO_ICS_STRAWBERRY_V1.01.00.01.019.077
>  Firefox os  v1.0.1
>  Mozilla build ID:20130414070204
>  
>  +++ This bug was initially created as a clone of Bug #444455 +++
>  
>  DEFECT DESCRIPTION:
>  Wi-Fi should keep on after phone power off a while 
>  REPRODUCING PROCEDURES:
>  1.turn on Wi-Fi
>  2.power off screen and after about 10 mins,then power on screen,find Wi-Fi
> turn off,drag down syatem bar,click Wi-Fi icon,cann't turn on Wi-Fi,but can
> turn on Wi-Fi via settings->KO1
>   EXPECTED BEHAVIOUR:
>  1.Wi-Fi should keep on after phone power off a while

How long do you expect it to keep turned on?
Clone from brother
Attached file log
Clone from brother
this pr has 2 issues:
 
 (a) Wi-Fi should keep on after screen is off a while
 (b) drag down status bar,click Wi-Fi icon,cannot turn on Wi-Fi, but can turn on
 Wi-Fi via settings menu.
blocking-b2g: --- → tef?
(In reply to khu from comment #1)
> (In reply to sync-1 from comment #0)
> > AU_LINUX_GECKO_ICS_STRAWBERRY_V1.01.00.01.019.077
> >  Firefox os  v1.0.1
> >  Mozilla build ID:20130414070204
> >  
> >  +++ This bug was initially created as a clone of Bug #444455 +++
> >  
> >  DEFECT DESCRIPTION:
> >  Wi-Fi should keep on after phone power off a while 
> >  REPRODUCING PROCEDURES:
> >  1.turn on Wi-Fi
> >  2.power off screen and after about 10 mins,then power on screen,find Wi-Fi
> > turn off,drag down syatem bar,click Wi-Fi icon,cann't turn on Wi-Fi,but can
> > turn on Wi-Fi via settings->KO1
> >   EXPECTED BEHAVIOUR:
> >  1.Wi-Fi should keep on after phone power off a while
> 
> How long do you expect it to keep turned on?

It means that wifi should not be turned off after power off. It can sleeping during LCD off,but it should reconnect wifi when power on screen.
Bug 859895 - Make wifi timeout build-configurable is landed, we can disable wifi automatically turn off by modifying wifi.screen_off_timeout to 0 in gaia/build/settings.py.
(In reply to Vincent Chang[:vchang] from comment #6)
> Bug 859895 - Make wifi timeout build-configurable is landed, we can disable
> wifi automatically turn off by modifying wifi.screen_off_timeout to 0 in
> gaia/build/settings.py.


when wifi.screen_off_timeout added? I hava not find it in gaia/build/settings.py.
Hi Vincent,

After power off more than 15 minites, it will forget wifi's info in /data/misc/wifi/wpa_supplicant.conf ,so when power on and wifi reconnect ,it will be failed .please help check , Thanks.
(In reply to rayren from comment #8)
> Hi Vincent,
> 
> After power off more than 15 minites, it will forget wifi's info in
> /data/misc/wifi/wpa_supplicant.conf ,so when power on and wifi reconnect ,it
> will be failed .please help check , Thanks.

Did you turn off the power of device or just turn off the screen ? It sounds very weird to me that the data is gone after power off/power on ?
(In reply to Vincent Chang[:vchang] from comment #9)
> 
> Did you turn off the power of device or just turn off the screen ? It sounds
> very weird to me that the data is gone after power off/power on ?

just turn off the screen.
(In reply to Vincent Chang[:vchang] from comment #9)
> (In reply to rayren from comment #8)
> > Hi Vincent,
> > 
> > After power off more than 15 minites, it will forget wifi's info in
> > /data/misc/wifi/wpa_supplicant.conf ,so when power on and wifi reconnect ,it
> > will be failed .please help check , Thanks.
> 
> Did you turn off the power of device or just turn off the screen ? It sounds
> very weird to me that the data is gone after power off/power on ?

I will sync with today's build and try to reproduce this problem.
(In reply to rayren from comment #10)
> (In reply to Vincent Chang[:vchang] from comment #9)
> > 
> > Did you turn off the power of device or just turn off the screen ? It sounds
> > very weird to me that the data is gone after power off/power on ?
> 
> just turn off the screen.

I tried to sync with today's build with my buri device. I can't reproduce this problem. Can you please offer the latest git commit id you used in gecko and gaia? Thanks.
I add patch https://github.com/mozilla-b2g/gaia/commit/8e50cdbfb54f34ccfb58cc9147e5e811471d4a57

into 

AU_LINUX_GECKO_ICS_STRAWBERRY_V1.01.00.01.019.077
Firefox os  v1.0.1
Mozilla build ID:20130414070204
And set "wifi.screen_off_timeout:0" .
This is a duplicated of bug 859895 as that one allows to keep Wi-Fi on after screen is off for a customisable amount of time.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
blocking-b2g: tef? → ---
clear tef? as it's dup with a tef+ already
Hi Vincent,
This problem is also exist.
when power off screen and after about 10 mins,then power on screen, drag down system bar,click Wi-Fi icon,cann't turn off Wi-Fi.  But I can use setting to turn off wifi.
blocking-b2g: --- → tef?
Flags: needinfo?(vliu)
blocking-b2g: tef? → ---
I have reproduce it ,when I power off screen for a long
 time,about 30 minutes,sometimes wifi doesn't reconnect itself.
Flags: needinfo?(vliu)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: