After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 793509 - power: Don't treat device batteries as power supplies
power: Don't treat device batteries as power supplies
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Power
unspecified
Other All
: Normal normal
: ---
Assigned To: Richard Hughes
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-02-16 13:40 UTC by Bastien Nocera
Modified: 2018-02-16 13:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
power: Don't treat device batteries as power supplies (1.69 KB, patch)
2018-02-16 13:40 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2018-02-16 13:40:54 UTC
.
Comment 1 Bastien Nocera 2018-02-16 13:40:58 UTC
Created attachment 368423 [details] [review]
power: Don't treat device batteries as power supplies

Show the "desktop" style dialogue ("Automatic suspend, when idle") even
when we have devices with batteries in use. We need "power supply"
batteries to consider the device as a laptop, or UPS-powered machine.
Comment 2 Matthias Clasen 2018-02-16 13:48:50 UTC
Review of attachment 368423 [details] [review]:

Makes sense to me.
Comment 3 Bastien Nocera 2018-02-16 13:54:39 UTC
Attachment 368423 [details] pushed as 015fe8d - power: Don't treat device batteries as power supplies