Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Hammerhead - power button 3 times to wake up the device if automatic brightness is enabled #65
Comments
|
Are you still experiencing this? I marked it as fix released because I wasn't able to reproduce it, so I just assumed. What os version and channel are you on? |
|
I have the same on my test device I think. I will test today. I was always thinking this is because I got a used N5 and the power button is a bit broken xD |
NeoTheThird
added
the
needs confirmation
label
May 30, 2017
ernesst
commented
May 30, 2017
|
Yes i still have it daily. |
|
@Flohack74 please check if the issue is also present on Android, so we can be sure it's related to Ubuntu Touch. |
ernesst
commented
May 30, 2017
|
Impossible, i'll not flash back my nexus 5 to android ;) |
|
What exactly do you mean by deep sleep? When the device is shut down? That's not really a problem then, is it? My device turns on, when i hold the power button for a couple of seconds when it's turned off. |
ernesst
commented
May 30, 2017
|
Deep sleep means more than 30s / 1 min with screen off, versus light sleep couple of second of screen off. |
|
I can't reproduce this. Even after a couple of hours, my Nexus 5 comes back to life at the press of one button. @Flohack74 any luck on reproducing this? |
NeoTheThird
added
device: bacon
device: hammerhead
and removed
device: bacon
labels
May 30, 2017
|
Don't mind me. |
ernesst
commented
May 30, 2017
|
Do you know which log file or test command i should look at to capture the phenomena ? |
|
I will try now... N5 powering on... |
ernesst
commented
May 31, 2017
•
|
@Flohack74 takes time to powering ... 4 slow times to wake up the phone : 2 slow times to wake up the phone : 8 slow times to wake up the phone : The trick is 3 times fast... Interesting to see that each time I push the button, the action is noticed: But touch off or touch on seems to have the same effect or the touch on tooks so long to be effective that the touch off (second push) is useless... |
|
Yeah basically I see the same thing, its strange however, as I cant make up a pattern, seems to be totally random. Also long-press is not a good idea, then it opens the shutdown menu. |
|
I tried again a couple of times and i still can't reproduce this. I mean, i believe you that that's an issue, given that i heard about it form different people, i'm just wondering why my device is not affected. Are there different versions of the device, or am i just the chosen one? |
NeoTheThird
added
bug
and removed
needs confirmation
labels
May 31, 2017
APokorny
commented
May 31, 2017
|
So if I parse the traces correctly i.e. in https://paste.ubuntu.com/24720385/ only the last power button press turns the backlight on. The first sequence just turns touchscreen, screen and other internal states to "on", the second press turns all of that off again.. |
|
Haha that sounds very confusing but makes sense... It would match the pattern we see. |
ernesst
commented
May 31, 2017
|
@APokorny The bug doens't happen with the phone is connected to my computers |
starstec
commented
Jun 3, 2017
|
Looks like it happens just when adjust brightness automatically is enabled. As you know previous versions does not have this issue (v4.4.2 I think), neither that issue ubports#6 |
|
Yep, that's true. If you disable automatic brightness, the issue goes away. If you enable it, it comes back. |
ebeton-ro
commented
Jun 4, 2017
I can also confirm this! |
|
This seems fixed now in latest devel :) |
|
Unfortuantely not fixed. Its just not happening on ALL presses... |
ncorella
commented
Jun 19, 2017
|
Hi, Can someone show the content of /usr/share/powerd/device_configs/config-default.xml ?? Thanks. |
rubencarneiro
commented
Jun 19, 2017
ncorella
commented
Jun 20, 2017
|
Then... Am i looking in a wrong source code? |
rubencarneiro
commented
Jun 20, 2017
ncorella
commented
Jun 20, 2017
|
Ahm... ok, now i see it. Do you think it is the same bug that this old bug in krillin and mako? At first i thought the bugs are the same, except for 2 strange things, nobody in that bug noticed that with automatic brightness disabled there is no bug. And the fact that in that bug, users said if you press one time the power button and simply wait (sometimes a lot of seconds) the screen goes on. Can anyone try this? I don't have a nexus 5 yet... but i will have one next week and i hope i can help testing and debugging some things... Thanks. |
|
Ok will try at home. How many seconds to wait approx.? |
ncorella
commented
Jun 20, 2017
|
Well, i don't know by my self, but in the refered bug, users said the time is totally random, from few seconds to even 1 minute... |
rubencarneiro
commented
Jun 20, 2017
|
did you try sudo chmod +x /usr/sbin/repowerd |
ernesst
commented
Jun 21, 2017
|
It's already +x in the system. |
Flohack74
referenced this issue
Jun 22, 2017
Closed
Nexus 5: power on has to be pressed repeatedly to wake up the phone #124
ncorella
commented
Jun 25, 2017
|
Ok, now that i have a Nexus 5 i can test things. I have discovered the reason of the random behavior and why it's not happening in all presses: if after power button is pressed (only one time), there is any change in the UI, i.e.: time change, battery change, mobile or wifi range change, etc... then the screen lights on! Can anyone confirm this? |
ebeton-ro
commented
Jun 25, 2017
|
I can cofirm this for time(minutes) change also I can confirm that it took more then 5 seconds for the screen to light up. |
nomoreAndroid
commented
Jun 28, 2017
|
Actually i like this bug, it keeps the phone from accidently being powered up in my pocket. Better battery life, and I got quickly used to it. Just press powerbutton and touch the screen. Maybe we can keep this bug as an option? Could be just a better way to wake up the ubuntu-phone. Try it! |
wagafo
commented
Jun 29, 2017
|
I moved to 15.04/devel and I am not seeing this issue |
|
@wagafo Did you enable automatic brightness? |
NeoTheThird
changed the title from
Hammerhead - power button 3 times to wake up the device
to
Hammerhead - power button 3 times to wake up the device if automatic brightness is enabled
Jul 19, 2017
wagafo
commented
Jul 19, 2017
•
|
Yes, you're right. With automatic brightness this issue is still in the 15.04/devel channel. |
Flohack74
added this to the 15.04 OTA-2 milestone
Jul 25, 2017
mariogrip
modified the milestones:
15.04 OTA-3,
15.04 OTA-2
Aug 5, 2017
|
Now the behaviour is changed for me, I can press one time and then swipe, no need for 3 presses anymore ;) |
ernesst
commented
Sep 3, 2017
|
Flo, nothing new. The one time + presd works also on the stable. |
wagafo
commented
Sep 4, 2017
|
I confirm that it is solved also for my N5. No need to turn off automatic brightness any more. |
|
Hmm I would not call it solved. If I press power button the screen does not light up, I have to swipe on the black screen... |
wagafo
commented
Sep 5, 2017
|
Again, after some more playing, if automatic brightness is on, it is still not working as expected. This must be the 4th time I think this if fixed but it is not. |
Rom4nB
commented
Oct 4, 2017
•
|
I have a Nexus 5 also and can confirm the bug with OTA2, stable, still present. Flashed Ubuntu and screen was hard to wake up with the power button. As mentioned by Flohack74, I assumed that I got a damaged 2nd hand phone with worn out power button. Now I re-flashed LineageOS (also to learn more about battery lasting time in Android, which was very low in ubuntu) and the power button works without problems in Android. |
This was referenced Oct 5, 2017
HendriXXX
commented
Oct 24, 2017
|
I can also confirm this bug on my N5. When screen doesn't wake up.. I touch/swipe screen even a little bit, backlight comes on. It doesn't matter where I do that touch/swipe, it works every time. |
Flohack74
added this to Accepted
in Ubuntu Touch
Oct 28, 2017
|
Fix released ubports/repowerd@7689b45 |
mariogrip
moved this from Accepted
to Waiting for Q/A
in Ubuntu Touch
Dec 12, 2017
wagafo
commented
Dec 13, 2017
|
I'm still seeing this issue in 251 Devel version. |
True. The image might have been built before the fix was committed. |
NeoTheThird
moved this from Quality Assurance
to In Development
in Ubuntu Touch
Dec 15, 2017
mariogrip
moved this from In Development
to Quality Assurance
in Ubuntu Touch
Dec 17, 2017
|
Fix commited ubports/repowerd@854d75c |
|
I hope so much that this time we nailed it haha ;) - Testing tomorrow |
|
fixed |
ernesst commentedMay 29, 2017
Gents,
I didn't see this bug moved from launchpad.
I need to push, usually, 3 time the power button to wake up the devices.