[Gta04-owner] HDQ can't detect battery presence?
Dr. H. Nikolaus Schaller
hns at goldelico.com
Wed Jan 30 16:35:00 CET 2013
Quesion to the protocol specialists:
I have discovered that the bq27000 driver always reports values. If the battery is removed while powering through USB there are timeouts and garbage values:
/sys/devices/w1_bus_master1/01-000000000000/bq27000-battery/power_supply/bq27000-battery# cat present type technology capacity voltage_now
1
Battery
Li-ion
cat: capacity: No data available
65535000
/sys/devices/w1_bus_master1/01-000000000000/bq27000-battery/power_supply/bq27000-battery#
Since I am not familiar with hdq/1-wire protocol I wonder why
the value "present" is always "1".
Isn't there some checksum or communication link presence detection?
Nikolaus
More information about the Gta04-owner
mailing list