Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752167AbdF0FvK (ORCPT ); Tue, 27 Jun 2017 01:51:10 -0400 Received: from mail-wm0-f53.google.com ([74.125.82.53]:35170 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752098AbdF0Fu4 (ORCPT ); Tue, 27 Jun 2017 01:50:56 -0400 MIME-Version: 1.0 In-Reply-To: References: <1979543.KIEJ8uyRaT@aspire.rjw.lan> <3689795.xuIczRHZsl@aspire.rjw.lan> <2026371.DVJN39QYJi@aspire.rjw.lan> <2368998.dmCsnrcXZy@aspire.rjw.lan> From: Tom Lanyon Date: Tue, 27 Jun 2017 15:50:33 +1000 Message-ID: Subject: Re: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent systems To: "Rafael J. Wysocki" Cc: Linux ACPI , Linux PM , Andy Shevchenko , Darren Hart , LKML , Srinivas Pandruvada , Mika Westerberg , Mario Limonciello , =?UTF-8?B?SsOpcsO0bWUgZGUgQnJldGFnbmU=?= , "Zheng, Lv" , Linus Torvalds Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1425 Lines: 32 On 23 June 2017 at 12:40, Linus Torvalds wrote: > On Thu, Jun 22, 2017 at 4:56 PM, Rafael J. Wysocki wrote: >> >> Some recent Dell laptops, including the XPS13 model numbers 9360 and >> 9365, cannot be woken up from suspend-to-idle by pressing the power >> button which is unexpected and makes that feature less usable on >> those systems. [ details removed ] > > This looks much more reasonable and more likely to work on future machines too. > > Of course, who knows what broken machines it will cause problems on, > but it sounds like the code now does what it's supposed to and what > Win10 does, so maybe it JustWorks(tm). Hah. Rafael - thanks for your efforts on this. I wanted to provide some feedback from some quick and naive tests on an XPS 13 9365 in case it was useful, as it seems like there's still some way to go before matching Win10's behaviour. Linux idling w/ screen ON => 17% battery drain per hour. Linux idling w/ screen OFF => 12% battery drain per hour. Linux during s2idle => 6% battery drain per hour. Win10 during sleep => 1% battery drain per hour. where Linux = 4.12-rc6 + the latest patch from your acpi-pm-test branch. So whilst s2idle halves the battery drain compared to the machine staying powered on, it's still significantly more draining than Win10. Let me know if there's any more useful analysis I can do. -Tom