The problem seems to be related to non_laptop_outputs_are_all_off in plugins/power/gsd-power-manager.c
Also possible culprits could be is_laptop and gnome_rr_output_is_laptop.
My Display name is Apple DFP, so it doesn't seem to be caught by gnome_rr_output_is_laptop
However, detecting if it is a laptop monitor by name seems a bit flaky. However, since I don't have any external monitors connected, it seems that a workaround would be to also count how many displays we have in total. If the number is 1, and since this is a laptop (lid event, etc), is there any case where the one display isn't the laptop display ?
I am attaching a patch that fixes (probably incorrectly) the issue for me.
Some investigations:
The problem seems to be related to non_laptop_ outputs_ are_all_ off in plugins/ power/gsd- power-manager. c
Also possible culprits could be is_laptop and gnome_rr_ output_ is_laptop.
My Display name is Apple DFP, so it doesn't seem to be caught by gnome_rr_ output_ is_laptop
However, detecting if it is a laptop monitor by name seems a bit flaky. However, since I don't have any external monitors connected, it seems that a workaround would be to also count how many displays we have in total. If the number is 1, and since this is a laptop (lid event, etc), is there any case where the one display isn't the laptop display ?
I am attaching a patch that fixes (probably incorrectly) the issue for me.