[Bug 1613871] Re: Regression: Rc-proposed Nexus 4 autobrightness does not work

2016-08-19 Thread taiebot65
I think i should re-title this bug because brightness works but it does
not adapt properly.

For my understanding the real bug is the brightness will only adapt if
there is a difference between two readings within 4.5 sec when it is
turned on. So in very dark conditions when your phone is turned on there
in no variation in brightness and the phone stays at the original
brightness that when you turned it off (see comment #14) which could be
really bright.

To easily reproduce this bug follow this steps.

>Turn off auto brightness.
>Put manually the brightness to maximum
>Cover the proximity sensor with your finger
>turn on auto brightness

==> expected the brightness to be corrected from maximum to minimum

Bug => As long as you keep your finger on the sensor the brightness is kept to 
maximum.
As soon as you remove your finger from the sensor and approach it from a light 
source, count 4.5 sec and you will see the brightness changing cover the sensor 
again and 4.5 sec later it will be at minimum brightness where it should have 
been.


In user case. In a dark room when you turn on your phone the brightness will 
never change (That's the reason i thought the brightness was broken)


** Summary changed:

- Regression: Rc-proposed Nexus 4 autobrightness does not work
+ Regression: In dark conditions autobrightness does not adapt

** Description changed:

  OS ubuntu 15.04
  since bq-aquaris.en/mako r.380 autobrightness does not work anymore
+ See comment #17 for a better description of the bug

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1613871

Title:
  Regression: In dark conditions autobrightness does not adapt

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1613871/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1613871] Re: Regression: Rc-proposed Nexus 4 autobrightness does not work

2016-08-19 Thread Pat McGowan
My last comment, I was referring to when auto is initially turned on,
the behavior is different. The real concern is when it is on and needs
to immediately adjust to current conditions as when removing from a
pocket.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1613871

Title:
  Regression: Rc-proposed Nexus 4 autobrightness does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1613871/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1613871] Re: Regression: Rc-proposed Nexus 4 autobrightness does not work

2016-08-19 Thread Pat McGowan
Compared 2 MX4s, stable and proposed, Stable adjusts immediately to a
new value, then may readjust later. Proposed does not adjust for at
least 4 secs sometimes more

** Changed in: canonical-devices-system-image
   Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1613871

Title:
  Regression: Rc-proposed Nexus 4 autobrightness does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1613871/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1613871] Re: Regression: Rc-proposed Nexus 4 autobrightness does not work

2016-08-18 Thread taiebot65
OK I have found the error. Brightness does work but the first reading
can be buggy. Put yourself in a very dark room put autobrightness to off
and put the brightness level to max and put back autobrightness to on.
This will never reduce the brightness. However turn a light on put the
phone under it and here you can see that autobrightness is working and
when you turn back off the light, the brightness level goes to the level
it should have been in the first place when you turned on
autobrightness.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1613871

Title:
  Regression: Rc-proposed Nexus 4 autobrightness does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1613871/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1613871] Re: Regression: Rc-proposed Nexus 4 autobrightness does not work

2016-08-18 Thread Alexandros Frantzis
> Can you check whether repowerd or powerd is running:
> ps -Af | grep powerd

Please attach the full output of the command, as there are other
services with suffix 'powerd' (e.g. upowerd) that are not related.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1613871

Title:
  Regression: Rc-proposed Nexus 4 autobrightness does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1613871/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1613871] Re: Regression: Rc-proposed Nexus 4 autobrightness does not work

2016-08-18 Thread Alexandros Frantzis
Can you check whether repowerd or powerd is running:

ps -Af | grep powerd


Also please attach /var/log/syslog

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1613871

Title:
  Regression: Rc-proposed Nexus 4 autobrightness does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1613871/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1613871] Re: Regression: Rc-proposed Nexus 4 autobrightness does not work

2016-08-17 Thread taiebot65
BTW it does not work at the moment. so i suppose this bug is valid. I
had a look there is no log file in /var/log for repowerd

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1613871

Title:
  Regression: Rc-proposed Nexus 4 autobrightness does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1613871/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1613871] Re: Regression: Rc-proposed Nexus 4 autobrightness does not work

2016-08-17 Thread taiebot65
OK sorry I have realized it does work after 4.5 sec.But the behaviour
changed it used to when enabled changed straight away. Now it takes
4.5sec before changing. Previous behaviour brightness off turning
britghness on you could see the change straight away. Current behavior
turning it on it takes 4.5 sec to change. That is why I got confused and
thought it was not working anymore. I thought it was broken.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1613871

Title:
  Regression: Rc-proposed Nexus 4 autobrightness does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1613871/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1613871] Re: Regression: Rc-proposed Nexus 4 autobrightness does not work

2016-08-17 Thread Alexandros Frantzis
> > Regression: Rc-proposed Nexus 4 autobrightness does not work
> > since r.380 autobrightness does not work anymore

> Is this information correct? Nexus 4 (mako) has rc-proposed image
revisions in the 500's range, MX4 > (arale) in the 300's range. Which
device is this bug about? Is the correct image type being used on > the
device?

OK, mystery solved, the bug reporter is using the bq-aquaris.en/mako
channel (not the ubuntu/mako channel).


** Description changed:

  OS ubuntu 15.04
- since r.380 autobrightness does not work anymore
+ since bq-aquaris.en/mako r.380 autobrightness does not work anymore

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1613871

Title:
  Regression: Rc-proposed Nexus 4 autobrightness does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1613871/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1613871] Re: Regression: Rc-proposed Nexus 4 autobrightness does not work

2016-08-17 Thread Alexandros Frantzis
> Regression: Rc-proposed Nexus 4 autobrightness does not work
> since r.380 autobrightness does not work anymore

Is this information correct? Nexus 4 (mako) has rc-proposed image
revisions in the 500's range, MX4 (arale) in the 300's range. Which
device is this bug about? Is the correct image type being used on the
device?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1613871

Title:
  Regression: Rc-proposed Nexus 4 autobrightness does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1613871/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1613871] Re: Regression: Rc-proposed Nexus 4 autobrightness does not work

2016-08-17 Thread Alexandros Frantzis
@jibel

> it takes on average 4.5s to adjust on arale/rc-proposed

That's a normal amount of time for autobrightness changes. Note that we
are using Android's autobrightness algorithm with a "debouncing" delay
of 4s (which is what powerd was using, and what Android is using). Of
course, we can reduce the debouncing delay, the trade-off being
increased susceptibility to transient light changes.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1613871

Title:
  Regression: Rc-proposed Nexus 4 autobrightness does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1613871/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1613871] Re: Regression: Rc-proposed Nexus 4 autobrightness does not work

2016-08-17 Thread Jean-Baptiste Lallement
I ran the following test several times:
- In sunlight, disable autobrightness
- Set the brightness to the minimum
- Enable autobrightness

it takes on average 4.5s to adjust on arale/rc-proposed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1613871

Title:
  Regression: Rc-proposed Nexus 4 autobrightness does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1613871/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1613871] Re: Regression: Rc-proposed Nexus 4 autobrightness does not work

2016-08-17 Thread Alexandros Frantzis
@taiebot65

Can you please attach the /var/log/repowerd.log file?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1613871

Title:
  Regression: Rc-proposed Nexus 4 autobrightness does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1613871/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1613871] Re: Regression: Rc-proposed Nexus 4 autobrightness does not work

2016-08-17 Thread Jean-Baptiste Lallement
381 is the release of repowerd.
I noticed than on arale, autobrightness is much slower and it takes several 
seconds to adjust in bright light.

** Also affects: repowerd (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: canonical-devices-system-image
 Assignee: (unassigned) => kevin gunn (kgunn72)

** Changed in: canonical-devices-system-image
Milestone: None => 13

** Changed in: canonical-devices-system-image
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1613871

Title:
  Regression: Rc-proposed Nexus 4 autobrightness does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1613871/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs