From owner-freebsd-current@freebsd.org Tue Jun 14 12:27:01 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A4A9DB682A5 for ; Tue, 14 Jun 2016 12:27:01 +0000 (UTC) (envelope-from andersbo87@icloud.com) Received: from mr11p00im-asmtp001.me.com (mr11p00im-asmtp001.me.com [17.110.69.252]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7C060222D for ; Tue, 14 Jun 2016 12:27:01 +0000 (UTC) (envelope-from andersbo87@icloud.com) Received: from process-dkim-sign-daemon.mr11p00im-asmtp001.me.com by mr11p00im-asmtp001.me.com (Oracle Communications Messaging Server 7.0.5.36.0 64bit (built Sep 8 2015)) id <0O8R00J00GYHPM00@mr11p00im-asmtp001.me.com> for freebsd-current@freebsd.org; Tue, 14 Jun 2016 12:26:55 +0000 (GMT) Received: from freebsd-acer.local (ti0025a400-3130.bb.online.no [85.167.11.68]) by mr11p00im-asmtp001.me.com (Oracle Communications Messaging Server 7.0.5.36.0 64bit (built Sep 8 2015)) with ESMTPSA id <0O8R00OF2H8TLW00@mr11p00im-asmtp001.me.com> for freebsd-current@freebsd.org; Tue, 14 Jun 2016 12:26:55 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-06-14_05:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1015 suspectscore=4 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1510270003 definitions=main-1606140140 From: Anders Bolt-Evensen To: freebsd-current@freebsd.org Subject: Battery status indicates discharging when it is fully charged and connected to power source Message-id: <9d513719-a59f-a0de-9a77-83c63f709887@icloud.com> Date: Tue, 14 Jun 2016 14:26:52 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-version: 1.0 Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=4d515a; t=1465907215; bh=T2YIBmCCmlg6/muYRplIgzH0Q4VDkxR/Yu1bmfCr9JA=; h=From:To:Subject:Message-id:Date:MIME-version:Content-type; b=sSUAN/Ht/XQkY8H70F0TGar4oEdBVGaC1iMuAk8OcfY67Ww9uNyW4SVKjgkant3+K QHYeLwP1WyjJEYJOC01rqaukXhynNOfrdN/SEq4LrvQqJfcnIOfL9sJptoCYcrO8IV tyMUKN68yxh0nMYQH1lhx/zcm6KWCF1lbVfjOZUwMWpin9iiLtyxHG4vRYPuelcqP9 5WIyC8NbOMu//bvg2qIaU0WvBCjmQTp/uMrHoajg1Eqfix1GKv/Ceh4WLZ65VgfjdM OkXJDTZ8BfY8abxSQhPUuV6bGG51AApFWDGFvgIj0qcNkyo8wRBwcB58oZkMN4l+OI 5/ZZTHOCnqLwQ== X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2016 12:27:01 -0000 Hello! Over the last months I've had a "problem" regarding battery status on my laptop which has been running FreeBSD CURRENT in order to have a working Intel driver (Haswell). My problem/question is that when I boot the laptop with a fully charged battery and it is still connected to a power source, acpiconf reports that the battery is discharging, even if it is not: [andersbo@freebsd-acer: it]$ acpiconf -i0 Design capacity: 4605 mAh Last full capacity: 3523 mAh Technology: secondary (rechargeable) Design voltage: 11400 mV Capacity (warn): 245 mAh Capacity (low): 192 mAh Low/warn granularity: 53 mAh Warn/full granularity: 3278 mAh Model number: AC14A8L Serial number: 13475 Type: LION OEM info: LGC State: discharging Remaining capacity: 98% Remaining time: unknown Present rate: 0 mA (0 mW) Present voltage: 12619 mV However, if I do discharge the battery and then charge it up to full again, acpiconf correctly reports battery status as "high": [andersbo@freebsd-acer: it]$ acpiconf -i0 Design capacity: 4605 mAh Last full capacity: 3584 mAh Technology: secondary (rechargeable) Design voltage: 11400 mV Capacity (warn): 245 mAh Capacity (low): 192 mAh Low/warn granularity: 53 mAh Warn/full granularity: 3339 mAh Model number: AC14A8L Serial number: 13475 Type: LION OEM info: LGC State: high Remaining capacity: 100% Remaining time: unknown Present rate: 0 mA (0 mW) Present voltage: 12823 mV Last Thursday I updated the sources to ALPHA2: [andersbo@freebsd-acer: it]$ uname -a FreeBSD freebsd-acer.local 11.0-ALPHA2 FreeBSD 11.0-ALPHA2 #1 r301745: Thu Jun 9 20:25:35 CEST 2016 root@freebsd-acer.local:/usr/obj/usr/src/sys/GENERIC amd64 Do you have any tips on how to fix this little "problem?" Thanks in advance. Anders