Energy harvesting techniques have been increasingly employed in both consumer and industrial applications to provide clean energy supply. Among the many available energy harvesting techniques, ambient energy harvesting (AEH) is a promising one as it harvests free energy from the environment and, thus, is economically efficient. AEH techniques, however, heavily depend on the dynamic environment and are thus uncontrollable and unstable. More recently, the wireless power transfer (WPT) technique has attracted significant attentions due to its highly controllable feature when powering low-cost devices. Unfortunately, WPT faces strict regulatory limitations to provide high power density and requires charging infrastructures installed to perform effective wireless energy transfer. The pros and cons of the two techniques motivate this work to design a hybrid energy harvesting method by charging a device using a combination of AEH and WPT to maximize the throughput of a wireless system. Specifically, this work first proposes an optimal offline charging scheme to maximize the point-to-point data throughput of a wireless system by fully utilizing the ambient energy and providing extra power supply through WPT to determine the transmission rates. An online heuristic algorithm is further proposed to improve the computational efficiency for practical scenarios when the system has the estimation of future AEH patterns. Our experimental results show that the proposed approaches are effective in maximizing the data throughput when compared to the state of the art.