This will require the driver to store these parameters in a file and retrieve them later. Tue, 22 Feb This page was last modified on 9 October , at This means it will reload default values every time the battery is inserted. These were ignored anyway when comparing two battery states and since their register is not shared between different properties we gain nothing by caching them. Replace “bqxx” in this example with the correct device for your platform.
|Date Added:||2 September 2007|
|File Size:||23.28 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
Prepare code for addition of bq platform driver bq27x Currently it supports only bqfs flashing.
The registers to initialized in the DM may be specified in the code in an array like this:. Using two transfers was kind of racy and caused wrong results to be returned sometimes. From Texas Instruments Wiki.
This series is also available at git: New Properties, fixes, bq support. Although bqtool is created for Android it can be easily ported for any Linux system. Tue, 22 Feb Please note as of Wednesday, August 15th, this wiki has been set to read only. For technical support please post your questions at http: Poll battery state bq27x However, more oinux will be added in the future.
Add new properties bq27x If you are a TI Employee and require Edit ability please contact x from the company directory. Navigation menu Personal tools Log in Request account.
CONFIG_BATTERY_BQ27x00: BQ27200 battery driver
The polling happens along with the polling of other parameters such as CurrentSOC etc and the period for this polling loop is customizable. Give more specific reports on battery status bw27200 This page has been accessed 4, times. Previously in such a case uevent generation would have been aborted with an error. Two more patches were added to the series: The driver does not have a mechanism to save and restore Ra values and Qmax as suggested in the Quick Start Guide of bqxx devices.
Replace “bqxx” in this example with the correct device for your platform.
/sys/class/power_supply/bq/capacity changed meaning between and ? – Patchwork
Thanks to all who have helped testing and contributed feedback and fixes. Views Read View source View history. New Properties, fixes, bq support Date: File IO is not supported in the kernel, so this will have to be done from the user-land. Add type property bq27x In some versions of Android, Bionic’s include folder doesn’t contain “i2c-dev. Retrieved from ” http: The following patch demonstrates how bqxx linu was added vq27200 Beaglebone Black assuming it is connected to I2C1 bus.
This page was last modified on 9 Octoberat If you are building bqtool using Android build system as above here is a caveat. This series has so far been tested with the bq and the bq battery, but not with the bq battery, so it would be nice if somebody with a board containing such a battery could nq27200 the patches to make sure that there are no regressions.
Add bq support bq27x Improve temperature property precession bq27x