GUI for SHR fast charge mode: possible?

Francesco de Virgilio fradeve11 at gmail.com
Sun Feb 22 17:37:36 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi guys,

as in the topic name, I've flashed SHR unstable and noticed that the
battery.py GUI I used to open on OM 2008.12, with SHR doesn't work
anymore, showing the following error:

/usr/bin/battery.py:116: GtkWarning: Unable to locate theme engine in
module_path: "moko-engine",
  self.win = gtk.Window(gtk.WINDOW_TOPLEVEL)
Traceback (most recent call last):
  File "/usr/bin/battery.py", line 83, in update_capacity
    cap = self.check_capacity()
  File "/usr/bin/battery.py", line 55, in check_capacity
    self.f = open(self.capacity, 'r')
IOError: [Errno 2] No such file or directory:
'/sys/devices/platform/bq27000-battery.0/power_supply/bat/capacity'
Traceback (most recent call last):
  File "/usr/bin/battery.py", line 101, in update_charge
    rate = self.check_type()
  File "/usr/bin/battery.py", line 33, in check_type
    self.f = open(self.charger_type, 'r')
IOError: [Errno 2] No such file or directory:
'/sys/class/i2c-adapter/i2c-0/0-0073/charger_type'
Traceback (most recent call last):
  File "/usr/bin/battery.py", line 109, in update_voltage
    voltage = self.check_voltage()
  File "/usr/bin/battery.py", line 62, in check_voltage
    self.f = open(self.voltage, 'r')
IOError: [Errno 2] No such file or directory:
'/sys/devices/platform/bq27000-battery.0/power_supply/bat/voltage_now'

For me the fast-charging mode is really important to use the Neo in my
car, which adaptor for default provides only 100 mhA. Is there a way to
set quickly fast-charge mode on SHR unstable?

Thanks,
- --
Francesco de Virgilio
*Ubuntu-it Member and Wiki Editor*
   mailto:fradeve at ubuntu-it.org
   http://wiki.ubuntu-it.org/FrancescoDeVirgilio
*Wikimedia Italia Member*
   http://en.wikipedia.org/wiki/User:Fradeve11
*OpenStreetMap Mapper*
   http://www.openstreetmap.org/user/Fradeve11
*Blog*
   http://fradeve.netsons.org
		"Love - Peace - Freedom - Free Software"
GPG 0x6482E056 (FP B996 A12C BD52 2A9B CDD3 812D 462D 93B0 6482 E056)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkmhf00ACgkQRi2TsGSC4FbFiQCgoGqyvdsLLCcURCiil3VASpVp
mdgAn0IegQOtdKQZ30oX/jPW1vHXLJqt
=tWEk
-----END PGP SIGNATURE-----




More information about the community mailing list