[Home](./index.md) > [bitburner](./bitburner.md) > [Stanek](./bitburner.stanek.md) > [chargeFragment](./bitburner.stanek.chargefragment.md) ## Stanek.chargeFragment() method Charge a fragment, increasing its power. **Signature:** ```typescript chargeFragment(rootX: number, rootY: number): Promise; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | rootX | number | Root X against which to align the top left of the fragment. | | rootY | number | Root Y against which to align the top left of the fragment. | **Returns:** Promise<void> Promise that lasts until the charge action is over. ## Remarks RAM cost: 0.4 GB