From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 16 22:25:06 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2FFE5DE6; Mon, 16 Jun 2014 22:25:06 +0000 (UTC) Received: from mail-oa0-x22b.google.com (mail-oa0-x22b.google.com [IPv6:2607:f8b0:4003:c02::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DC4292504; Mon, 16 Jun 2014 22:25:05 +0000 (UTC) Received: by mail-oa0-f43.google.com with SMTP id o6so6699572oag.30 for ; Mon, 16 Jun 2014 15:25:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=Ofme2RQEBblKh7KAvCJZLjD1DvIdFEZOVwCCenh4ajk=; b=rxli+mvdXziu4HBDHzm3dNcx8B1UatPBH7sMwOG05jdmq6YCb1kqf20xq6WQd4Kw+K IyKVZlxu/ksOIXU5LdKrnbTBR2x23bcx0iHPbzyUupbfWotbKpfw7ioh4Mno7IKkdG1w QZwhp5Cc1eYNfPknBgv66tBGlajM0IHG/nbnYbk3oX5kFDCDwrI96zK8hg2oSQgV2MoE 0yVZwHgJxX0DTM29lXPs5Hk4WJ8d0h5j4mXgqvMBZCd4a1FFt83cNRqI7CJ+Sr2SnMh7 P5YqywtkpHf131E/zEEzE6vv9zuUjLQol4RVo5SJk9WHN7dZ6p+yU59xVIsb008TaHN5 j8jg== MIME-Version: 1.0 X-Received: by 10.182.230.227 with SMTP id tb3mr11018448obc.55.1402957505216; Mon, 16 Jun 2014 15:25:05 -0700 (PDT) Sender: tomek.cedro@gmail.com Received: by 10.202.75.207 with HTTP; Mon, 16 Jun 2014 15:25:05 -0700 (PDT) In-Reply-To: <539F6B3F.2000308@att.net> References: <539F56E9.8070809@muc.de> <539F6B3F.2000308@att.net> Date: Tue, 17 Jun 2014 00:25:05 +0200 X-Google-Sender-Auth: WCbQhT7ij1OD3hTtyj2kHwS_5lI Message-ID: Subject: Re: sysctl hw.acpi.acline From: CeDeROM To: Anthony Jenkins Content-Type: text/plain; charset=UTF-8 Cc: freebsd-hackers@freebsd.org, freebsd-acpi@freebsd.org, Armin Gruner X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jun 2014 22:25:06 -0000 On Tue, Jun 17, 2014 at 12:10 AM, Anthony Jenkins wrote: > The absence of hw.acpi.battery and child oids probably implies there is no battery and the system may be assumed to be on line (A/C) power. Hello Anthony! I would prefer to have that information clearly defined in the manual :-) I guessed that this is a quick fix to first check the OID existence, but if manual tells there is such OID it should be there, even if there is no battery, huh? This is why I consider this to be a bug :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info