kernel log getting spammed every 10s with battery notifications

Bug #1280124 reported by Alan Pope 🍺🐧🐱 πŸ¦„
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-mako (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

On my Ubuntu phone mako running image 182 I'm getting spammed in the kern.log every 10 seconds:-

Feb 14 07:47:17 ubuntu-phablet kernel: [ 1963.088661] get_prop_batt_capacity: low battery charge = 8%
Feb 14 07:47:17 ubuntu-phablet kernel: [ 1963.091682] get_prop_batt_capacity: low battery charge = 8%
Feb 14 07:47:17 ubuntu-phablet kernel: [ 1963.111216] get_prop_batt_capacity: low battery charge = 8%
Feb 14 07:47:17 ubuntu-phablet kernel: [ 1963.133770] get_prop_batt_capacity: low battery charge = 8%
Feb 14 07:47:17 ubuntu-phablet kernel: [ 1963.136944] get_prop_batt_capacity: low battery charge = 8%
Feb 14 07:47:17 ubuntu-phablet kernel: [ 1963.145398] get_prop_batt_capacity: low battery charge = 8%
Feb 14 07:47:17 ubuntu-phablet kernel: [ 1963.160750] get_prop_batt_capacity: low battery charge = 8%
Feb 14 07:47:17 ubuntu-phablet kernel: [ 1963.163070] get_prop_batt_capacity: low battery charge = 8%
Feb 14 07:47:17 ubuntu-phablet kernel: [ 1963.170272] get_prop_batt_capacity: low battery charge = 8%
Feb 14 07:47:17 ubuntu-phablet kernel: [ 1963.172561] get_prop_batt_capacity: low battery charge = 8%
Feb 14 07:47:17 ubuntu-phablet kernel: [ 1963.183549] get_prop_batt_capacity: low battery charge = 8%
Feb 14 07:47:17 ubuntu-phablet kernel: [ 1963.188981] get_prop_batt_capacity: low battery charge = 8%
Feb 14 07:47:27 ubuntu-phablet kernel: [ 1973.025667] get_prop_batt_capacity: low battery charge = 8%
Feb 14 07:47:27 ubuntu-phablet kernel: [ 1973.029543] get_prop_batt_capacity: low battery charge = 8%
Feb 14 07:47:27 ubuntu-phablet kernel: [ 1973.030947] get_prop_batt_capacity: low battery charge = 8%
Feb 14 07:47:27 ubuntu-phablet kernel: [ 1973.035403] get_prop_batt_capacity: low battery charge = 8%
Feb 14 07:47:27 ubuntu-phablet kernel: [ 1973.051579] get_prop_batt_capacity: low battery charge = 8%
Feb 14 07:47:27 ubuntu-phablet kernel: [ 1973.057011] get_prop_batt_capacity: low battery charge = 8%
Feb 14 07:47:27 ubuntu-phablet kernel: [ 1973.070044] get_prop_batt_capacity: low battery charge = 8%
Feb 14 07:47:27 ubuntu-phablet kernel: [ 1973.072699] get_prop_batt_capacity: low battery charge = 8%
Feb 14 07:47:27 ubuntu-phablet kernel: [ 1973.090095] get_prop_batt_capacity: low battery charge = 8%
Feb 14 07:47:27 ubuntu-phablet kernel: [ 1973.114970] get_prop_batt_capacity: low battery charge = 8%

etc

Seems overkill.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.4.0-3-mako (not installed)
Uname: Linux 3.4.0-3-mako armv7l
ApportVersion: 2.13.2-0ubuntu3
Architecture: armhf
Date: Fri Feb 14 07:45:26 2014
InstallationDate: Installed on 2014-02-14 (0 days ago)
InstallationMedia: Ubuntu Trusty Tahr (development branch) - armhf (20140214)
ProcEnviron:
 TERM=linux
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 SHELL=/bin/bash
SourcePackage: linux-mako
UpgradeStatus: No upgrade log present (probably fresh install)

tags: added: avengers
Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

Also on image 181..

Feb 14 09:08:41 ubuntu-phablet kernel: [ 503.387517] get_prop_batt_capacity: low battery charge = 5%
Feb 14 09:08:41 ubuntu-phablet kernel: [ 503.391118] get_prop_batt_capacity: low battery charge = 5%
Feb 14 09:08:41 ubuntu-phablet kernel: [ 503.394567] get_prop_batt_capacity: low battery charge = 5%
Feb 14 09:08:41 ubuntu-phablet kernel: [ 503.411261] get_prop_batt_capacity: low battery charge = 5%
Feb 14 09:08:41 ubuntu-phablet kernel: [ 503.415992] get_prop_batt_capacity: low battery charge = 5%
Feb 14 09:08:41 ubuntu-phablet kernel: [ 503.418708] get_prop_batt_capacity: low battery charge = 5%
Feb 14 09:08:41 ubuntu-phablet kernel: [ 503.428597] get_prop_batt_capacity: low battery charge = 5%
Feb 14 09:08:41 ubuntu-phablet kernel: [ 503.430978] get_prop_batt_capacity: low battery charge = 5%
Feb 14 09:08:41 ubuntu-phablet kernel: [ 503.438821] get_prop_batt_capacity: low battery charge = 5%
Feb 14 09:08:41 ubuntu-phablet kernel: [ 503.444193] get_prop_batt_capacity: low battery charge = 5%

Revision history for this message
Tim Gardner (timg-tpi) wrote :

Alan - what would you consider an appropriate warning interval ? This message is only printed when your battery capacity falls below 11%.

Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

I have no objection to being told every 10 seconds. What's odd is that the message appears 12 times every 10 seconds, not once every 10 seconds.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-mako - 3.4.0-4.25

---------------
linux-mako (3.4.0-4.25) trusty; urgency=low

  [ Tim Gardner ]

  * SAUCE: Limit low battery message to once per minute
    - LP: #1280124
 -- Tim Gardner <email address hidden> Tue, 18 Feb 2014 11:33:06 -0700

Changed in linux-mako (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.