Backport Yeeloong battery.el fix from trunk
commit9e37f3b9c3321029fb12479c1e1bbba7e708f8f5
authorRichard M. Stallman <rms@gnu.org>
Sun, 23 Mar 2014 00:08:47 +0000 (22 17:08 -0700)
committerGlenn Morris <rgm@gnu.org>
Sun, 23 Mar 2014 00:08:47 +0000 (22 17:08 -0700)
treefaaf583c2158a3afe3d561230cfdc9f87db80d05
parent3e702d1649d4f4f67ed355a26ff707733c39e6d8
Backport Yeeloong battery.el fix from trunk

Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00782.html

* lisp/battery.el (battery-linux-sysfs):
Search for each field from the beginning of the buffer.
lisp/ChangeLog
lisp/battery.el