From 85065dfdb312091e1c4aee612253d9a412918ccd Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Mon, 9 May 2016 01:31:12 +0300 Subject: [PATCH] hal-info: disable battery polling It doesn't look like anything cares about dbus events it generates, it's just a waste of resources --- recipes/hal/hal-info/no_bq27500.patch | 16 ++++++++++++++++ recipes/hal/hal-info_20090414.bb | 4 ++++ 2 files changed, 20 insertions(+) create mode 100644 recipes/hal/hal-info/no_bq27500.patch diff --git a/recipes/hal/hal-info/no_bq27500.patch b/recipes/hal/hal-info/no_bq27500.patch new file mode 100644 index 0000000000..e96f50697c --- /dev/null +++ b/recipes/hal/hal-info/no_bq27500.patch @@ -0,0 +1,16 @@ +diff --git a/fdi/information/10freedesktop/10-battery.fdi b/fdi/information/10freedesktop/10-battery.fdi +index cbb605b..ebb03ce 100644 +--- a/fdi/information/10freedesktop/10-battery.fdi ++++ b/fdi/information/10freedesktop/10-battery.fdi +@@ -9,6 +9,11 @@ + true + + ++ ++ ++ true ++ ++ + + + diff --git a/recipes/hal/hal-info_20090414.bb b/recipes/hal/hal-info_20090414.bb index e6d50e3981..ca106ebe62 100644 --- a/recipes/hal/hal-info_20090414.bb +++ b/recipes/hal/hal-info_20090414.bb @@ -1 +1,5 @@ require hal-info.inc + +SRC_URI += "file://no_bq27500.patch;patch=1" + +PR = "r1" -- 2.39.5