```\n/\*\*\n \* Calculate an account's borrow power based on token's LTV\n \*/\nfunction getBorrowPower(address \_borrower) public view returns (uint256 power) {\n    for(uint8 i = 0; i < globalConfig.tokenInfoRegistry().getCoinLength(); i++) {\n        if (isUserHasDeposits(\_borrower, i)) {\n            address token = globalConfig.tokenInfoRegistry().addressFromIndex(i);\n            uint divisor = INT\_UNIT;\n            if(token != ETH\_ADDR) {\n                divisor = 10\*\*uint256(globalConfig.tokenInfoRegistry().getTokenDecimals(token));\n            }\n            // globalConfig.bank().newRateIndexCheckpoint(token);\n            power = power.add(getDepositBalanceCurrent(token, \_borrower)\n                .mul(globalConfig.tokenInfoRegistry().priceFromIndex(i))\n                .mul(globalConfig.tokenInfoRegistry().getBorrowLTV(token)).div(100)\n                .div(divisor)\n            );\n        }\n    }\n    return power;\n}\n```\n