charge_state_v2: Allow charger operation without a host
charge_state_v2: Allow charger operation without a host

update_dynamic/static_battery_info update information in the memmap
shared with the host. When there is not host, these functions
cannot do anything.

The battery information will, eventually, have to be passed to
host (through lid EC), but this will be implemented later.

BRANCH=none
BUG=b:66575472
TEST=make BOARD=wand -j

Change-Id: I1640bb0c5a9eb242183b957ccbef4d4999112160
Signed-off-by: Nicolas Boichat <f3daba1cdc403799935674d3cd4b0e5bd1804232@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/678754
Reviewed-by: Vincent Palatin <70a9964ec8fd10b0b08fcc8623c2add25ddf99ac@chromium.org>

coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec