A power management system (100) comprising a power generator (1) for
providing a supply signal (Vchg) to a load (2), a floating controllable
bi-directional current sensor (N1) coupled via a first connection (10) to
the power generator and via a second connection (20) to the load (2) for
detecting a positive current (pos) flowing from the power generator (1)
to the load (2) and a negative current (neg) from the load (2) to the
power generator (3). In accordance with the invention, the floating
controllable bi-directional current sensor (N1) is controlled by a
current management block (3) coupled to a control terminal (G) of the
floating controllable bi-directional current sensor (N1) and to the first
and second connections (10, 20) for controlling an equivalent voltage
between the first connection (10) and the second connection (20), for
providing a first current (Ipos), which is proportional with the positive
current (pos), and for providing a second current (Ineg), which is
proportional with the negative current (neg).